LinuxQuestions.org
Help answer threads with 0 replies.
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
 
LinkBack Search this Thread
Old 02-08-2010, 09:15 AM   #16
rweaver
Senior Member
 
Registered: Dec 2008
Location: Independance, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 160Reputation: 160

No, that is exactly right. Has a core been generated yet? Also try a find on the drive sometimes php generates a core and will put it in other locations. The name will be core.pid (where pid is the processid of the process that generated the core.)
 
Old 02-08-2010, 08:16 PM   #17
steve51184
Member
 
Registered: Dec 2006
Posts: 346

Original Poster
Rep: Reputation: 30
found the problem and it was leechers stealing files on my server causing LOTS of apache requests but i've blocked them and i'm all good now so thanks for the help

also according to 'apache2ctl status' before i was getting 120-150 'requests currently being processed' and now about 20-50 tops so my question now is how did my server not manage 120+ i have a dual core cpu and 4gb of ram is that not enough?

also how do i tweak apache to handle more requests?

please note that my apache config is pretty much 'default'
 
Old 02-09-2010, 09:04 AM   #18
rweaver
Senior Member
 
Registered: Dec 2008
Location: Independance, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 160Reputation: 160
The first thing is... disable all modules you don't need enabled. If you aren't using it and don't need it. Turn it off. There are some additional details in this article that should give you some ideas moving forward. Optimization also somewhat depends on your content type, optimizing for streaming large movies is somewhat different than optimizing for sending 10k small gifs and there are a lot of base operating system items that can make a large difference. If after optimizing apache you still aren't satisfied with the performance depending on content you've still got other options, load balancers, caching proxy servers, etc.
 
Old 02-09-2010, 05:13 PM   #19
steve51184
Member
 
Registered: Dec 2006
Posts: 346

Original Poster
Rep: Reputation: 30
well here's my apache module list and i don't think there's anything else i can take off: http://i49.tinypic.com/2upckkp.png (i run a php/mysql based forum)
 
Old 03-31-2011, 03:02 AM   #20
viramani
LQ Newbie
 
Registered: Mar 2011
Posts: 1

Rep: Reputation: 0
Please help same problem with Apachee

Web based application - Slow Access - but fast after restarting Apachee and MySQL
We have a developed a simple web based application in PHP / MySQL which runs in VPS server. (Windows 2003)

This application runs on Apache 2.2

Around 5-10 users work on this application.

This application will insert text data to the MySQL database.

The application loads fast and work fine for some time (1-2 hours). But after some the pages are not even getting loaded.

If we restart Apachee and MySQL services in the VPS server then the application is starting to work fast for some time (1-2). And again we need to restart after a while.

Whether we need to change any modification in Apachee configuration file or MySQL configuration file ?

Please help!

You have mentioned leechers stealing files .. how to identify them >
 
Old 01-18-2012, 11:04 AM   #21
super7nuu
LQ Newbie
 
Registered: Jan 2012
Posts: 1

Rep: Reputation: Disabled
yes please tell me how you identified the leechers, im having the same problem
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: One thing that preload helps run quickly: OpenOffice LXer Syndicated Linux News 0 08-15-2008 01:30 PM
Restarting apache fof3 Linux - Newbie 2 07-22-2006 10:01 PM
Apache helps needed !!! chuck77 Linux - General 1 05-15-2002 10:08 AM
Apache helps needed !!! chuck77 Linux - General 11 01-28-2002 09:46 PM
restarting Apache Xiled Linux - Networking 7 10-09-2001 10:24 AM


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

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration