LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-12-2016, 02:09 PM   #1
extraserve
LQ Newbie
 
Registered: Apr 2016
Posts: 4

Rep: Reputation: Disabled
server becomes too slow untill httpd restart


hello there
I have aproblem in my server
it becomes too slow on pagination
and the probelm is solvrd once I restart httpd
2 minuites later the problem occurs again untill I restart it again
any help?
 
Old 04-12-2016, 02:21 PM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,665

Rep: Reputation: Disabled
So there is a memory leak or runaway process. What have you done to diagnose it?
 
Old 04-12-2016, 02:26 PM   #3
extraserve
LQ Newbie
 
Registered: Apr 2016
Posts: 4

Original Poster
Rep: Reputation: Disabled
memory: 95ggb\usage: 1%
 
Old 04-12-2016, 08:04 PM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
What are the hardware specifications of the server? What kind of pages are you serving (static content, PHP, Ruby on Rails, etc.)? Probably the server is being asked to do too much with too few resources.

Please post the outputs of "uptime" and "free -m" so we can see CPU load and memory. You can use "top" to get a better idea of what's consuming CPU/memory. For more advanced drill-downs, take a look at mpstat, vmstat, iostat.

Without more information, there's not much we can do to help you.
 
Old 04-13-2016, 10:43 AM   #5
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Shared Server, VPS or a Dedicated host?

"server" doesn't say much.
 
Old 04-14-2016, 12:34 PM   #6
extraserve
LQ Newbie
 
Registered: Apr 2016
Posts: 4

Original Poster
Rep: Reputation: Disabled
Dedicated server

Processor 2x E5-2670 0 @ 2.60GHz
Ram 96 GiB
Disk 1 TB
Operating System OCS - CentOS 7 (latest)
 
Old 04-14-2016, 02:16 PM   #7
extraserve
LQ Newbie
 
Registered: Apr 2016
Posts: 4

Original Poster
Rep: Reputation: Disabled
sometimes I receive messages like this

Time: Thu Apr 14 20:22:42 2016 +0200
Account: comelzamalek
Process Count: 14 (Not killed)

Process Information:

User:comelzamalek PID:24801 PPID:24711 Run Time:0(secs) Memory:189860(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/comelzamalek/public_html/index.php
User:comelzamalek PID:24805 PPID:24716 Run Time:0(secs) Memory:213300(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/comelzamalek/public_html/index.php
User:comelzamalek PID:24808 PPID:24733 Run Time:0(secs) Memory:210596(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/comelzamalek/public_html/index.php
User:comelzamalek PID:24816 PPID:24631 Run Time:0(secs) Memory:200932(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/comelzamalek/public_html/index.php
User:comelzamalek PID:24817 PPID:24648 Run Time:0(secs) Memory:203256(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/comelzamalek/public_html/index.php
User:comelzamalek PID:24828 PPID:24823 Run Time:0(secs) Memory:200928(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/comelzamalek/public_html/index.php
User:comelzamalek PID:24835 PPID:24829 Run Time:0(secs) Memory:201840(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/comelzamalek/public_html/index.php
User:comelzamalek PID:24837 PPID:24830 Run Time:0(secs) Memory:201556(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/comelzamalek/public_html/index.php
User:comelzamalek PID:24839 PPID:24831 Run Time:0(secs) Memory:202528(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/comelzamalek/public_html/index.php
User:comelzamalek PID:24848 PPID:24845 Run Time:0(secs) Memory:200212(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/comelzamalek/public_html/index.php
User:comelzamalek PID:24853 PPID:24850 Run Time:0(secs) Memory:198528(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/comelzamalek/public_html/index.php
User:comelzamalek PID:24857 PPID:24852 Run Time:0(secs) Memory:202800(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/comelzamalek/public_html/index.php
User:comelzamalek PID:24859 PPID:24855 Run Time:0(secs) Memory:201444(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/comelzamalek/public_html/index.php
User:comelzamalek PID:24864 PPID:24709 Run Time:0(secs) Memory:202556(kb) exe:/usr/bin/php cmd:/usr/bin/php /home/comelzamalek/public_html/index.php


I use wordpress
is it the problem?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
httpd -k restart error budiman Linux - Newbie 3 08-18-2013 03:13 PM
[SOLVED] /etc/init.d/httpd restart anon091 Linux - Newbie 3 10-18-2010 09:23 AM
Can not restart httpd”File size limit exceeded(core dumped) $HTTPD -DSSL” sreejithedl Linux - Server 2 10-12-2009 11:24 AM
cronjob to restart httpd if httpd is dead heropage Linux - Software 1 10-31-2007 01:22 PM
httpd restart FAILED error: Could not determine the server's fqdn mcbaind Linux - Networking 8 10-06-2006 08:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration