Switching to NGINX indeed fixed much of the problems. But mysql gem continues 
to evade no matter what kind of config I use. 
But SQL has been tuned up, major bugs have been tuned.

Much better now. Will post later with detailed analysis of the problem and 
solutions

regards

Mohammed. A


 


 

-----Original Message-----
From: Piyush Ranjan <[EMAIL PROTECTED]>
To: mongrel-users@rubyforge.org
Sent: Wed, 27 Feb 2008 1:50 pm
Subject: Re: [Mongrel] problems with Mongrel + Pound









To install mysql gem you need to specify the mysql_config path(if it is not 
installed then into mysql dev or devel package)
To install sudo gem install mysql -- --with-mysql-config=<path-to-mysql_config 
like on my ubuntu it is /usr/bin/mysql_config>



And your problems are similar(not same) I used to encounter. I had these 
problems with my mongrel handler when it used to? write to database in 
asynchronous queries by the users. Log file used to scream connection lost to 
mysql. After spending a few days trying to boost up my mysql server I did the 
gem install and since then it has handled 100K + queries (the mongrel handler 
part of the app)each day without any problem whatsoever. 


Also switch to apache/ngnix if you can. Pound could also be the trouble maker 
though I am not very sure about this comment.
 

On Wed, Feb 27, 2008 at 1:29 PM, Dave Cheney <[EMAIL PROTECTED]> wrote:



I hacked our vendor tree to explode on startup if the mysql gem could not be 
found. IMHO this should be the default?behavior,?the built in mysql adapter is 
crap and its silent use is a ticking time bomb




Cheers




Dave







On 27/02/2008, at 6:42 PM, [EMAIL PROTECTED] wrote:



Thank you for the replies.


Here's what I found - mysql gem was not installed and that maybe a core source 
of problems as suggested by Zed. We've had? too many problems when we tried to 
install this, and found that none of the solutions that are mentioned really 
work. We will try to install this gem again.?







_______________________________________________

Mongrel-users mailing list

Mongrel-users@rubyforge.org

http://rubyforge.org/mailman/listinfo/mongrel-users






 





_______________________________________________
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users



 


________________________________________________________________________
You are invited to Get a Free AOL Email ID. - http://webmail.aol.in
_______________________________________________
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users

Reply via email to