nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

Apache + MySQL + Joomla crash...

This is a discussion on Apache + MySQL + Joomla crash... within the Web servers forums, part of the Mastering Servers category; Hi all! This is my first thread here, I hope to find some solution or just an idea and to ...


Go Back   nixCraft Linux Forum > Mastering Servers > Web servers

Linux answers from nixCraft.


Web servers Discussion on Apache, Nginx and Lighttpd HTTP/web server and configuration issues.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 17-12-2008, 03:55 PM
Junior Member
User
 
Join Date: Dec 2008
OS: FreeBSD
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
alghouti is on a distinguished road
Default Apache + MySQL + Joomla crash...

Hi all!
This is my first thread here, I hope to find some solution or just an idea and to be able to give help too early!

Well, I'll try to explain my problem:

I've a joomla site running on two server (xeon2,8G, just 512MB ram).
The web live on a server (WEBNODE) and mysql on another (DBNODE).
We receive about 10000 visit for days and there are always 150/200 user connected.

.................Visit - Page - Hit - Traffic
15 Dic 2008 8409 37196 582646 3.13 GB
16 Dic 2008 10758 50285 753278 3.88 GB
17 Dic 2008 3777 19680 253222 1.34 GB

Configuration:
WEBNODE: apache-1.3.41, Joomla 1.0.13b (with eaccelerator), php4-4.4.8. (it's NFS Server too...)
DBNODE: mysql-client-5.1.24_1, apache-1.3.41


Sometimes the site in not available, the server become slow in shell too, so I need to restart apache on WEBNODE.


Here some error encoutered in the log:

On WEBNODE:

[error] [client 87.24.168.141 [note: the IP repeated request a lot of times]] File does not exist: [url]

server reached MaxClients setting, consider raising the MaxClients setting [note: MaxClients = 150 on httpd.conf]


On DBNODE

A lot of:
suhosin[42301]: ALERT - canary mismatch on efree() - heap overflow or double efree detected (attacker '192.168.0.5 [note: this is our lan gateway, so internal access])', file '/usr/local/www/cluster.siciliaonline.it/includes/joomla.php', line 6194)



I thought it was a memory problem...
In the php.ini I increase Memory_limit to 256MB...

Any ideas?

Grazie 1000!
Al
Reply With Quote
  #2 (permalink)  
Old 20-01-2009, 03:21 PM
toor217's Avatar
Junior Member
User
 
Join Date: Jan 2009
Location: South Africa
OS: FreeBSD 7.0
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
toor217 is on a distinguished road
Default

does not look like a memory error, if your site is liable to get more than 150 concurrent users, which for the traffic stats it looks like it does, you may want to up the MaxClients in httpd.conf

<IfModule worker.c>
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>

see if that helps with the stability.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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


Similar Threads

Thread Thread Starter Forum Replies Last Post
CentOS Linux: Upgrading Apache php-mysq from 4 to 5 for MySQL 5 Danm CentOS / RHEL / Fedora 3 24-07-2009 10:42 PM
Apache on red hat tanweernoor Web servers 5 06-06-2009 02:21 AM
apache for proxy_pass meenal Web servers 1 31-05-2008 04:07 PM
how to restart apache when die. LifeTimes CentOS / RHEL / Fedora 2 13-05-2008 06:03 PM
How to recover if server crash in remote? kitty@sad Solaris/OpenSolaris 1 27-02-2007 09:02 PM


All times are GMT +5.5. The time now is 12:40 AM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38