Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: sj1410 on September 09, 2008, 11:59:46 AM
-
Hi,
need urgent help.
i am using sme 7.3. yesterday suddenly webmail & server-admin stopped working. i checked httpd process is taking 100% cpu, there is no error log, i am not able to solve the problem. kindly help
Regards
Swapnil Jain
-
Hi. Have you made some modifications (template-custom or db command)?
What does httpd -t
returns ?
Anything in /var/log/messages?
-
httpd -t returns
Syntax OK
found nothing special in /var/log/messages
-
this is the only modification i did, but this was done 4 months before. no other modification
/sbin/e-smith/db configuration setprop passwordstrength Users none
/sbin/e-smith/db configuration setprop passwordstrength Admin none
/sbin/e-smith/db configuration setprop passwordstrength Ibays none
-
sj1410
there is no error log....found nothing special in /var/log/messages
Try looking in various of the httpxxxx log files
To see the processes in use, & memory & CPU usage etc, try
top -i
and/or
htop
iptraf
may also be useful
-
Once again, 100% processor usage on linux machines is not abnormal, the priority system (nice values) should distribute the resources over the running processes. Does your server still respond to other events, viewing logfiles, access on the command line?
You did not specify what you are using your webserver for. Are you serving websites, using dynamic content? Perhaps some of your websites cause the server to eat up all the resources because of some flaw in the websites code.
-
cactus
other processes are running, but the httpd process is stuck up. i using httpd precess just for webmail not much users are there.
-
cactus
other processes are running, but the httpd process is stuck up. i using httpd precess just for webmail not much users are there.
As your machine is still responsive I do not consider this an error. In contrast to windows it is quite normal to Linux systems to use up all processor power without becoming unresponsive. What are the specs of the machine, is this perhaps some old lowe-end system you had lying around somewhere?
-
its core 2 duo 2 GB ram
but my httpd server is not accepting requests, its just showing
this is output of htop
PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command
4168 root 25 0 12776 4492 3340 R 100 0.2 4h45:58 /usr/sbin/httpd -f /etc/httpd/conf/httpd.conf -D FOREGROUND
-
i deleted the files in /etc/httpd/state/ restarted httpd and done. now its working.
thanks, htop helped me, it showed me the stack trace......?
Swapnil Jain
Indore