Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Going to one of my websites produces this;

top;

Seconds later all goes back to normal again..... do I maybe have some sort of aggressive http logger or something installed?

rcconf;

share|improve this question

closed as not a real question by mailq, Iain, Shane Madden, voretaq7, MikeyB Oct 27 '11 at 21:08

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

2 Answers 2

You have a problem with the PHP application running on your server.

Don't ask "which problem". You provide no information so we can't do also.

share|improve this answer
    
If I disable my vhosts one by one, will I reach the one causing issues? –  natli Oct 27 '11 at 20:39
    
@natti Only if you can reproduce the load. And even then you only find the culprit, but not the problem. –  mailq Oct 27 '11 at 20:41
    
There is no load. These websites are all new and receive virtually no visitors whatsoever, yet still this problem occurs right after boot. I aksed this question prior to trying to find a script causing issues, because it may well have been a logging app or something similar I was not aware of. Frankly, I don't understand all of the downvotes. I'll try to zone in on the issue now. –  natli Oct 27 '11 at 20:45
    
@natti This is no forum where you can drop your problems and wait for discussion or solutions. Ask a concrete question and you will receive answers. Ask a broad question (as you did) and receive downvotes. –  mailq Oct 27 '11 at 20:49
    
Even after disabling all vhosts, meaning all pages default to the lighttpd placeholder page, the problem still occurs. Which is weird because no PHP scripts can even be reached through any url redirecting to my server's IP. –  natli Oct 27 '11 at 21:17

How should we know what you have installed? Your package listing tells nothing about what gets executed when you receive an HTTP request.

It's run as a CGI, which is about the slowest method possible to run a script, but beyond that it might just be a really crappy PHP script or something that is inherently resource-hungry. Or one of countless other potential problems.

share|improve this answer
    
I provied a sreenshot of my rcconf in hopes someone would simply spot some logging utility that eats alot of memory, but I had to post it as a link because of < 10 rep... sorry. It made sense to me because the problem occurs right after booting the server. –  natli Oct 27 '11 at 20:41
2  
I have absolutely no idea why you think some kind of logging utility could be the most likely problem in your case. HTTP requests spawn a CGI process running a PHP script. This process consumes a lot of resources, which suggests your problem are likely your PHP scripts. –  Sven Oct 27 '11 at 20:44
    
I didn't know this website is for people with a minimum amount of experience under their belt. I did not know a logging application could not produce this problem, for all I knew such an application could in fact increase a php-cgi's script memory usage. –  natli Oct 27 '11 at 20:47
    
Well, normally logging is done by Apache and it takes very few resources. Additional logging could be done by your PHP scripts, but if this takes any amount of time we are back at square one: crappy PHP. But you don't even tell us what kind of PHP scripts are running on your server: Something self-written? A CMS or blog software? Anyway, if you read our faq, you will notice that this site is for professionals. –  Sven Oct 27 '11 at 20:52

Not the answer you're looking for? Browse other questions tagged or ask your own question.