Heavy Load = Restart
Moderator: General Moderators
Heavy Load = Restart
Hey, I have a server running a serious amount of connections, which causes the apache to go slow and my HTTP server to restart regulary. How do I go about fixing this?
Thanks
Thanks
Just one database..
Processor #1 Vendor: GenuineIntel
Processor #1 Name: Intel(R) Xeon(TM) CPU 3.00GHz
Processor #1 speed: 3001.836 MHz
Processor #1 cache size: 2048 KB
Processor #2 Vendor: GenuineIntel
Processor #2 Name: Intel(R) Xeon(TM) CPU 3.00GHz
Processor #2 speed: 3001.836 MHz
Processor #2 cache size: 2048 KB
Processor #3 Vendor: GenuineIntel
Processor #3 Name: Intel(R) Xeon(TM) CPU 3.00GHz
Processor #3 speed: 3001.836 MHz
Processor #3 cache size: 2048 KB
Processor #4 Vendor: GenuineIntel
Processor #4 Name: Intel(R) Xeon(TM) CPU 3.00GHz
Processor #4 speed: 3001.836 MHz
Processor #4 cache size: 2048 KB
Memory Information
Memory: 2072556k/2096000k available (1868k kernel code, 22412k reserved, 755k data, 180k init, 1178496k highmem)
System Information
Linux eta.xisto.com 2.6.9-34.ELsmp #1 SMP Wed Mar 8 00:27:03 CST 2006 i686 i686 i386 GNU/Linux
The reason I believe it to be apache is because the management team hosting my server said so =/ .. But their head admin's friend got sick, hence he can not fix it, and I'm a little desperate =) ..
I dunno, about 3-400 users online, and since it's a game, quite a lot of pageviews. The codes are not the best, but I'm trying to optimize as much as possible atm =) .. It shouldn't be because of that though, as my server CPUs don't seem to be overloaded?
Processor #1 Vendor: GenuineIntel
Processor #1 Name: Intel(R) Xeon(TM) CPU 3.00GHz
Processor #1 speed: 3001.836 MHz
Processor #1 cache size: 2048 KB
Processor #2 Vendor: GenuineIntel
Processor #2 Name: Intel(R) Xeon(TM) CPU 3.00GHz
Processor #2 speed: 3001.836 MHz
Processor #2 cache size: 2048 KB
Processor #3 Vendor: GenuineIntel
Processor #3 Name: Intel(R) Xeon(TM) CPU 3.00GHz
Processor #3 speed: 3001.836 MHz
Processor #3 cache size: 2048 KB
Processor #4 Vendor: GenuineIntel
Processor #4 Name: Intel(R) Xeon(TM) CPU 3.00GHz
Processor #4 speed: 3001.836 MHz
Processor #4 cache size: 2048 KB
Memory Information
Memory: 2072556k/2096000k available (1868k kernel code, 22412k reserved, 755k data, 180k init, 1178496k highmem)
System Information
Linux eta.xisto.com 2.6.9-34.ELsmp #1 SMP Wed Mar 8 00:27:03 CST 2006 i686 i686 i386 GNU/Linux
The reason I believe it to be apache is because the management team hosting my server said so =/ .. But their head admin's friend got sick, hence he can not fix it, and I'm a little desperate =) ..
I dunno, about 3-400 users online, and since it's a game, quite a lot of pageviews. The codes are not the best, but I'm trying to optimize as much as possible atm =) .. It shouldn't be because of that though, as my server CPUs don't seem to be overloaded?
don't you have shell access there? That complicates troubleshooting severely.
Do you have access to httpd.conf file? Can you access /server-status (provided by mod_status) ?
Isn't your server running out of disk space?
Do you have access to httpd.conf file? Can you access /server-status (provided by mod_status) ?
Isn't your server running out of disk space?
try
and
Code: Select all
apachectl fullstatusCode: Select all
df