Suddenly Apache Uses A Lot Of CPU

Oct 27, 2009

I have moved my 2 websites to a new server running Debian ( it was runnning CentOs with Cpanel ).

Both of them are high load websites. When i start apache, everything runs fine ( about 200 requests/sec ).

Suddenly, after 30 or 60 minutes running, apache starts using a lot of CPU and server load goes to 200 or higher. So i have to reboot the server.

Do you have any idea of what could cause this problem?

I mean, the scripts are the same, they are well optimized. So i am not sure what could cause this problem.

View 7 Replies


ADVERTISEMENT

Subdomain Suddenly Not Working

Mar 31, 2009

how to fix the issue of subdomain suddenly not working. I check httpd conf the entries were there. I did run /scripts/rebuildhttpdconf but still not working. I also roce update cpanel still not workin

View 3 Replies View Related

Suddenly No Network Module

Feb 28, 2008

I have 5 servers spread out in different locations running Fedora Core, Webmin, and OpenVPN.

My most recent one I signed up with on here and for 2 weeks I have been doing various things to speed it up such as remove ipv6, change the dns servers, etc. and rebooting after making such changes.

Things were working properly and the server was rebooted last about 3 days ago after installing OpenVPN and Webmin. Yesterday afternoon the server suddenly stopped responding and dropped its VPN connections. I created a ticket with my hosts support center and they told me that the network module was uninstalled.

Is this possible? I have NEVER heard of any software uninstalling a network module and even more so suddenly stopping the service to uninstall it without a reboot?

Did my host just try to screw me to get a reimage fee on their cheap server?

View 0 Replies View Related

Backup Stop Suddenly

Apr 17, 2008

i have a dedicted server 160 disk space

first month the server well adn take backup with out any problem to ma accounts then the disk space usage ( accounts + daily backups + weekly backups ) = 56 %

now from 2 weeks my server has not take any backup why?

View 7 Replies View Related

Mysql Suddenly Will Not Start

Feb 2, 2008

under the shell on a cpanel server I tried to restart mysql - and it won't restart

/etc/init.d/mysql start
Starting MySQL................................... ERROR!

Where do I even begin to try to fix this?

View 4 Replies View Related

My Site Become A CPanel Suddenly

Apr 7, 2007

i've buy a domain name form a hosting company and host it at another company...

everything is fine at first...

however something weird happened when i have accidently agreed on some suggestion during ftp upload (i can't remember what is suggested while upload, i suppose to click NO but...). then my site turn to the cPanel page.

when i try check at the domain name server, the setting is correct.

however, the addon domain in the hosting company is disappeared. all the files are still in the directory, but the domain is no more appear under the added on domain list.

I tried to add the domain again, however it shows "Error from park wrapper:..." i've also checked the park domain, my domain is not in the list too...

View 7 Replies View Related

VPS Suddenly Stops Working

Jun 7, 2007

i have a VPS on which i host one of my Proxy site and nothing else (no databases, no emails, just the usual proxy files needed).

just today it stopped working it is showing the Centos Page .the URL is [url]

here are the steps that i have taken till now without success:
1. restarted the server
2. stopped and restarted some critical services like httpd etc.
3. restarted my free crappy control panel also Ravencore

but all without success

if u feel that u can help me out then can tell u my webmin root password also via PM (u must be a reputed member).

View 9 Replies View Related

Website Suddenly Became Slow

Mar 2, 2007

I have a client who has 3 to 4 websites. His websites are database driven mysql. When we transfered to a new server everything works. Then he requested a iconv and GD installations. Then it was installed. Now all of his sites is impossibly to view but its up. The rest of the clients are doing just fine. What do you think is the problem? we recompiled php several times already same thing.

View 0 Replies View Related

Traffic Increase A Lot Suddenly Without Reason

Mar 31, 2008

I can not find anything weird on the server.

Everything seems normal.

Why the traffic go high suddenly, then it drop to normal after a while.

View 8 Replies View Related

My Webhost Suddenly Does Not Allow Php Contact Forms

Jun 20, 2007

My Webhost suddenly does not allow php contact forms! Instead, they expect me to change all forms on 16 sites hosted by them to use a phpFormMail solution they provide. It's a real hassle.

View 10 Replies View Related

Zend Optimizer Suddenly Not Working

Jun 20, 2007

I've got something very strange going on....This is a CentOS server running Plesk (32 bit)...I've got clientexec installed and it has been running perfectly fine for a long time now. Today, in the middle of invoicing some clients, I got the zend optimizer not loaded page...which is weird, since i know it is loaded. Nevertheless, I downloaded the source again and reinstalled Zend and the page is still showing up. Could an automatic plesk update have caused this? (I'm not too familiar with what files are updated and whatnot when control panels are updated)

I really need to figure out what's going on here. I can get you any information you need. Are there supposed to be additional lines in the php.ini relating to the optimizer? Because I opened VI and searched for optimizer and nothing came up.......

View 2 Replies View Related

DNS Lookups Against Domains On My Server Are Suddenly Failing

Jul 24, 2008

DNS lookups against domains on my server are suddenly failing. The /etc/resolv.conf shows 3 entries for uplink DNS servers at my provider (theplanet). Bind is running, too.

What else could cause this? All sites are accessible via IP, but not by name anymore.

Cpanel/WHM server

View 5 Replies View Related

Remote Desktop Suddenly Stopped Working

Jan 28, 2008

I have a server that I access through remote desktop. Suddenly I am getting the message "Remote Desktop Disconnected: The computer can't connect to the remote computer." when using Remote Desktop.

It was working a few minutes ago.

A while ago I suspected that someone knew the password for the box. I did change it at the time, and thought the issue was solved. Is it possible to turn off remote desktop remotely (whilst using remote desktop).

Power cycling the server isn't making any difference.

Any other options other than putting in a support request at the host?

View 7 Replies View Related

Plesk 12.x / Linux :: API Requests Suddenly Extremely Slow

May 4, 2015

In the last few days the responses from Plesk's XML API have been extremely slow. It's now taking an average of 45 seconds to handle an XML API request where it used to be more around 5 seconds. What would cause that? What service handles these requests on the server so I can try rebooting it?

View 2 Replies View Related

Plesk 12.x / Linux :: FTP Login Suddenly Does Not Work Anymore

Jun 8, 2015

I have a freshly installed Plesk 12 on CentOS 7.

FTP logins worked fine yesterday. Today I get a 530 Login incorrect.

I think the only change since yesterday was a server reboot.

/var/log/secure tells me that /etc/ftpusers is missing

Code:
Jun 8 00:33:19 macbook proftpd: PAM unable to dlopen(/usr/lib64/security/pam_stack.so): /usr/lib64/security/pam_stack.so: cannot open shared object file: No such file or directory
Jun 8 00:33:19 macbook proftpd: PAM adding faulty module: /usr/lib64/security/pam_stack.so
Jun 8 00:33:19 macbook proftpd: pam_listfile(proftpd:auth): Couldn't open /etc/ftpusers

What went wrong, what would be the solution?

View 3 Replies View Related

Plesk 12.x / Linux :: Website Suddenly Returning 404 Nginx Errors (on Certain Files)

Aug 27, 2014

I am the owner of a VPS, where i host a website.

However this website suddenly was returning 404 nginx errors (on certain files), however these files do exist.

If i try to access a file that doesnt exist it gives me a regular 404 browser error (not nginx).

During loading of one these files i also noticed it was loading openadserving.com

So i think my server has been infected.

For example this is a logo image: [URL] ....

View 1 Replies View Related

Plesk 12.x / Linux :: Postfix Smtp Suddenly Started Issuing Relay Access Denied On All Recipients

Jul 10, 2015

After setting up a new server on Plesk12, I successfully ran some test mail outs using phpmailer using the SMTP server on this machine

However, there was an issue in creating new local mail accounts in plesk with an error message each time.

Investigating this issue led me to a solution that I should run mail_restore from the Plesk scripts

This cured the problem of setting up new local accounts but outgoing SMTP mail is always failing with 'relay access denied'.

View 1 Replies View Related

Apache :: Capturing Internal Apache Errors Return Custom HTTP Status

Nov 15, 2013

Server Version: Apache/2.2.22 (Unix)

On our production service, we've been getting numerous malformed POST requests to some of our CGI scripts that are showing up as 500 errors in our logs. They are malformed in the sense that the actual content length doesn't match the Content-Length specified in the request.

Here's the most trivial example I can come up with that reproduces the problem for us:

POST /some_valid_alias HTTP/1.1
Host: example.org
User-Agent: Arbitrary/1.0
Content-Type: multipart/form-data; boundary=---------------------------41184676334
Content-Length: 769
-----------------------------41184676334

In addition to the 500 error in the access log, we see the corresponding error in the error log:

(70014)End of file found: Error reading request entity data

Based on the nature of the POST request and the error response, it does appear that Apache is doing the right thing here.

The POST never actually makes it as far as the script being targeted (/some_valid_alias in the above example); in other words, Apache returns 500 to the client, writes the error to the error log and never executes the script.

Is there a way to capture/avoid internal Apache errors like 70014, and return some other HTTP status besides 500 (like 403)? It's particularly annoying in our case, because our server sends us an email for all 500 errors.

So far, our best "defense" against these 500 errors is to disallow POST for these aliases, which normally just ignore the POST data anyway (when the request is not malformed):

RewriteCond %{REQUEST_METHOD} ^POST$
RewriteRule ^/(some_valid_alias)(.*)$ $1$2 [R]

But this won't work for all our scripts, because in some cases we do want to permit POST.

View 2 Replies View Related

Apache Procs Constantly Rise, Until Apache Is Restarted

Jul 23, 2007

I've had this problem a long time now with my hosting network and decided to ask here hoping I get some good solutions, or if someone is willing to looking at this (I'll pay if they want).

Here's what I mean:
[url]

Problem is as you can see apache processes constantly rise infinitely, at least until I restart apache (/etc/init.d/httpd restart). The point of restart is shown in red lines.

And after restart, it goes down again for X amount of hours then eventually rises again infinitely until it's restarted again.

But the fact that after restart it remains down, it means it had the potential to be down all along.

So my question is: what could be causing this and does anyone have solution to keep them low at all times (as per graphs)?

View 14 Replies View Related

Increasing The Apache ServerLimit In Apache 2.2.8 Version.

May 28, 2008

The Linux Server got down when the MaxClients 256 is reached.
Error Log:

"server reached MaxClients setting, consider raising the MaxClients setting"

So that I have tried to increased the MaxClients Value to 500, after changed the value in httpd.conf and restart I get following error message.

" [notice] SIGHUP received. Attempting to restart
WARNING: MaxClients of 500 exceeds ServerLimit value of 256 servers,
lowering MaxClients to 256. To increase, please see the ServerLimit
directive."

So that I tried changed the Server limit in /usr/local/apache/include/httpd.h header file. but it seems like there is no entry.

Apache Version : 2.2.8

So I have added the ServerLimit 500 entry in httpd.conf file and restart the httpd service. But still shows the same warning mesg. Please help me regarding this.

We have the Dedicated server for Flash Game Server with following configuration.

RHEL4 OS
2GB RAM
Intel(R) Xeon(R) X3210 @ 2.13GHz
Cpanel Installed.
Apache 2.2.8
PHP 5.2.4
MySQL 4.1.2 (MySQL Server is working in differend server)

View 7 Replies View Related

.htaccess Issue With Apache 1.3, But Works On Apache 2.2

Mar 22, 2008

I have the following Apache redirect code in .htaccess:

RewriteRule ^sap-latest-news/([0-9]*)/([A-Za-z0-9_-.]*).htm$ /domain.com/app/modules/content/latestNews.php?id=$1 [L]

This redirect works fine on Apache 2.2.8, but doesn't work on Apache 1.3.41

The following is the entry from error_log:
RewriteRule: cannot compile regular expression '^sap-latest-news/([0-9]*)/([A-Za-z0-9_-.]*).htm$'

A simple Rewrite is working fine in Apache 1.3, but the above regualar expression doesn't seem to be working on Apache 1.3. Does anyone know whether Apache 1.3 doesn't support it?

View 3 Replies View Related

Installed Apache And PHP Only Seeing Default Apache Page

Jun 1, 2007

I am having an issue where I have a server that Directadmin is installed on. I go to the a url that is on the server and all i see is the default page of apache saying congrats, it is installed. Although there is no file like that in the public_html any longer and I can see my files in the public_html folder of that specific site.

View 6 Replies View Related

Downgrade CentOS 5's Apache 2 To Apache 1.3

Jan 3, 2008

I've been searching around with google regarding how to downgrade the Apache 2.2 which comes with CentOS 5 to Apache 1.3.39.

View 2 Replies View Related

Performance: Apache 2 Prefork Vs Apache 1.3

Jan 12, 2008

I'm building a new server for a predominantly php5/mysql5 website and was wondering which version of apache to put on. I know there are some issues with PHP and Apache in MPM, but what's the performance comparison between Apache 1.3 and Apache 2 Prefork?

View 4 Replies View Related

Can Not Compile Htppd Apache Because Of Apache APR

Aug 6, 2008

I am trying to install dedicated web server on my Slackware 12.0.0 machine. I am a novice in Linux, but succeeded in MySQL & proFTPd installation. The problem now in httpd compiling.

I downloaded the latest Apache 2.2.9, but it needs Apache Portable Runtime 1.3.2 installed. I downloaded 1.3.2 version and run ./configure

1. checking size of size_t... 4
2. checking which format to use for apr_size_t... %u
3. checking size of off_t... 4
4. checking for mmap64... yes
5. checking for sendfile64... yes
6. checking for sendfilev64... no
7. checking for mkstemp64... yes
8. checking for readdir64_r... yes
9. checking which type to use for apr_off_t... off64_t
10. checking whether ino_t and unsigned long are the same... yes
11. configure: using unsigned long for ino_t
12. checking size of pid_t... 4
13. checking whether byte ordering is bigendian... no
14. checking size of struct iovec... 8
15. checking for strnicmp... no
16. checking for strncasecmp... yes
17. checking for stricmp... no
18. checking for strcasecmp... yes
19. checking for strdup... yes
20. checking for strstr... yes
21. checking for memchr... yes
22. checking for strtoll... yes
23.
24. Checking for DSO...
25. checking for dlopen... no
26. checking for dlopen in -ldl... yes
27. adding "-ldl" to LIBS
28. checking for dlsym... yes
29.
30. Checking for Processes...
31. checking for waitpid... yes
32. checking for Variable Length Arrays... yes
33. checking struct rlimit... yes
34.
35. Checking for Locking...
36. checking for semget... yes
37. checking for semctl... yes
38. checking for flock... yes
39. checking for semaphore.h... (cached) yes
40. checking OS.h usability... no
41. checking OS.h presence... no
42. checking for OS.h... no
43. checking for library containing sem_open... none required
44. checking for sem_close... yes
45. checking for sem_unlink... yes
46. checking for sem_post... yes
47. checking for sem_wait... yes
48. checking for create_sem... no
49. checking for working sem_open... yes
50. checking for union semun in sys/sem.h... no
51. checking for LOCK_EX in sys/file.h... yes
52. checking for F_SETLK in fcntl.h... yes
53. checking for SEM_UNDO in sys/sem.h... yes
54. checking for POLLIN in poll.h sys/poll.h... yes
55. checking for PTHREAD_PROCESS_SHARED in pthread.h... yes
56. checking for pthread_mutexattr_setpshared... yes
57. checking for working PROCESS_SHARED locks... yes
58. checking for robust cross-process mutex support... yes
59. decision on apr_lock implementation method... SysV IPC semget()
60. checking if all interprocess locks affect threads... no
61. checking if POSIX sems affect threads in the same process... no
62. checking if SysV sems affect threads in the same process... no
63. checking if fcntl locks affect threads in the same process... no
64. checking if flock locks affect threads in the same process... no
65. checking for entropy source... /dev/urandom
66.
67. Checking for File Info Support...
68. checking for struct stat.st_blocks... yes
69. checking for struct stat.st_atimensec... no
70. checking for struct stat.st_ctimensec... no
71. checking for struct stat.st_mtimensec... no
72. checking for struct stat.st_atim.tv_nsec... yes
73. checking for struct stat.st_ctim.tv_nsec... yes
74. checking for struct stat.st_mtim.tv_nsec... yes
75. checking for struct stat.st_atime_n... no
76. checking for struct stat.st_ctime_n... no
77. checking for struct stat.st_mtime_n... no
78. checking for inode member of struct dirent... d_fileno
79. checking for file type member of struct dirent... d_type
80.
81. Checking for OS UUID Support...
82. checking uuid.h usability... no
83. checking uuid.h presence... no
84. checking for uuid.h... no
85. checking uuid/uuid.h usability... yes
86. checking uuid/uuid.h presence... yes
87. checking for uuid/uuid.h... yes
88. checking for library containing uuid_create... no
89. checking for library containing uuid_generate... -luuid
90. checking for uuid_create... no
91. checking for uuid_generate... yes
92. checking for os uuid usability... yes
93.
94. Checking for Time Support...
95. checking for struct tm.tm_gmtoff... yes
96. checking for struct tm.__tm_gmtoff... no
97.
98. Checking for Networking support...
99. checking for type in_addr... yes
100. checking if fd == socket on this platform... yes
101. checking style of gethostbyname_r routine... glibc2
102. checking 3rd argument to the gethostbyname_r routines... char
103. checking style of getservbyname_r routine... glibc2
104. checking if TCP_NODELAY setting is inherited from listening sockets... yes
105. checking if O_NONBLOCK setting is inherited from listening sockets... no
106. checking whether TCP_NODELAY and TCP_CORK can both be enabled... yes
107. checking for TCP_CORK in netinet/tcp.h... yes
108. checking for TCP_NOPUSH in netinet/tcp.h... no
109. checking for SO_ACCEPTFILTER in sys/socket.h... no
110. checking whether SCTP is supported... no
111. checking for struct ip_mreq... yes
112. checking for set_h_errno... no
113.
114. Checking for IPv6 Networking support...
115. checking for library containing getaddrinfo... none required
116. checking for library containing gai_strerror... none required
117. checking for library containing getnameinfo... none required
118. checking for gai_strerror... yes
119. checking for working getaddrinfo... yes
120. checking for negative error codes for getaddrinfo... yes
121. checking for working getnameinfo... yes
122. checking for sockaddr_in6... yes
123. checking for sockaddr_storage... yes
124. checking for working AI_ADDRCONFIG... yes
125. checking if APR supports IPv6... yes
126. checking langinfo.h usability... yes
127. checking langinfo.h presence... yes
128. checking for langinfo.h... yes
129. checking for nl_langinfo... yes
130.
131. Restore user-defined environment settings...
132. restoring CPPFLAGS to ""
133. setting EXTRA_CPPFLAGS to "-DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE"
134. restoring CFLAGS to ""
135. setting EXTRA_CFLAGS to "-g -O2 -pthread"
136. restoring LDFLAGS to ""
137. setting EXTRA_LDFLAGS to ""
138. restoring LIBS to ""
139. setting EXTRA_LIBS to "-luuid -lrt -lcrypt -lpthread -ldl"
140. restoring INCLUDES to ""
141. setting EXTRA_INCLUDES to ""
142. configure: creating ./config.status
143. config.status: creating Makefile
144. config.status: creating include/apr.h
145. config.status: creating build/apr_rules.mk
146. config.status: creating build/pkg/pkginfo
147. config.status: creating apr--config
148. config.status: WARNING: 'apr-config.in' seems to ignore the --datarootdir setting
149. config.status: creating apr.pc
150. config.status: creating test/Makefile
151. config.status: creating test/internal/Makefile
152. config.status: creating include/arch/unix/apr_private.h
153. config.status: executing default commands
154. config.status: include/apr.h is unchanged
155. config.status: include/arch/unix/apr_private.h is unchanged

After that I am trying make and have error at the end:

make[1]: Entering directory `/root/build/apr-1.3.2'
/bin/sh /root/build/apr-1.3.2/libtool --silent --mode=link gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -.....

View 0 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved