Live data from Hacker News

Hire HN: Apache is crashing every hour. Seeking Drupal/Nginx-friendly sysadmin

news.ycombinator.com

51–54 of 54 posts

Re: Hire HN: Apache is crashing every hour. Seeking Drupal/Nginx-friendly sysadmin

#51

Get rid of mod_php, replace it with a nice build of php-fpm (included in 5.3 actually) tied to nginx via fastcgi. Bam. Nginx will handle all static content SUPER fast while keeping an incredibly small memory footprint, while passing dynamic requests to the PHP side of things via fastcgi. Example of one of my nginx configuration files, for a Wordpress site: http://paste.pocoo.org/show/256982/ This will only do so much…

Or you can just put nginx in front of apache.

Re: Hire HN: Apache is crashing every hour. Seeking Drupal/Nginx-friendly sysadmin

#52
post #49

(raises hand) my turn! (I fix these problems and other stuff for a living). There are short answers and long answers to this problem. The short answers try to fix quickly what the most likely cause of the problem is. If a server is being unresponsive this is most likely because the server runs out of memory or incurs in heavy disk I/O. For the memory problem find what are the processes eating up the memory. For apach…

Good advice, but one small nitpick: Quicklook isn't Google's - it's just hosted at code.google.com.

Re: Hire HN: Apache is crashing every hour. Seeking Drupal/Nginx-friendly sysadmin

#53
Is Drupal's cron.php being hit every hour? If yes, my guess is that it's related to an errant Drupal module. You can try isolating this by grepping for hook_cron in your contrib folder. When you have a list of likely culprits, you can check their corresponding issue queues on Drupal.org or just dig into the code.

Either way, it's likely a bad Apache configuration. Try posting in the Drupal.org support forums. You're likely to get the help you need without being charged for it. The Drupal community likes to help its own, so I suggest posting in the Chicago group at groups.drupal.org/chicago, too.

Re: Hire HN: Apache is crashing every hour. Seeking Drupal/Nginx-friendly sysadmin

#54
post #39

Earlier quoted context omitted.

Were the first two words in the title not "Hire HN" when you posted this comment?

First, your wording is rude and if you said that to my face I'd tell you to f * off. Second, it did begin with that, and there is no factual clash or contradiction with my original comment. Asking for help does not preclude money being involved, and my use of the phrase about doing my homework was metaphorical to illustrate a class of inqueries made all over the web everyday -- but in other forums that are better and…

Dude, your loss. I was frankly wondering - it's already a trend on HN. We've had lots of "who's hiring?" threads and "I'm looking to be hired" threads. Heck, we have a link on the top bar to facilitate it for YC companies: http://news.ycombinator.com/jobs

If I were in a startup and I had a mission-critical problem and I was near the end of my rope, I think I could do a lot worse than looking to the HN community.

As paulbaumgart said, he's clearly a contributing member of the community. This isn't some newbie freshman who can't figure out linked lists, wandering in looking for an easy grade - this is a bootstrapping entrepreneur at his wits end asking for a favor from friends... a favor he's willing to pay for.

Post reply on HN