Hi guys! I´m having a problem with a django site, sometimes my server stuck and goes down. Just before it happens I receive about 200 traceback messages telling me the same error: (1040, 'Too many connections'), I get these messages in an interval of 1 minutes. I changed mysql configuration and set the simultaneous connection limit to 1000 but the problem persist. I´m not a mysql expert so I talked to my tecnical support, they tell me mysql isn´t stucking the server, maybe it is the traceback messages by email.
I disabled email traceback messages and this weekend my server goes ok but I´m not fighting the problem this way. I have about 20 000 daily visits (250 000 - 290 000 hits each day). This site is hosted on a dedicated server, a Xeon 3.20GHz with 4GB of RAM space. I´m using django-0.96pre and I use locmem as the cache backend. I´m using mysql 5.0.18 as database. I have locmem configured with default parameters, when I start my server it costs me about 800MB of RAM space, but now, after 10 days of uptime, the consumed RAM is between 3.0GB and 3.4GB. I don´t send emails from my server, except by the traceback and registration ones, the registration is few number of emails. I don´t know where should I look at to solve my problem. Some people tell me to use a static index page server by apache, generated by a cron job, do you think it´s really necessary? Does anyone is facing such problem? Any help will be greatfull, Best Regards! -- Michel Thadeu Sabchuk --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---