Hi, I have a strange problem. I have a mongrel cluster and when i am trying to access my url, then it s failing 1 out of 10 times. Then we tried it by accessing the url by specifying the mongrel id and we found that from the series only one i.e. the first one was failing. The mongrel ids were from 10000 to 10003 and only the 10000 mongrel id wasnt respoding. Any suggestions? Neha -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Look at the mongrel logs? How is it ''failing''? Vish On 8/9/07, Neha Chopra <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > Hi, > > I have a strange problem. > I have a mongrel cluster and when i am trying to access my url, then it > s failing 1 out of 10 times. > Then we tried it by accessing the url by specifying the mongrel id and > we found that from the series only one i.e. the first one was failing. > The mongrel ids were from 10000 to 10003 and only the 10000 mongrel id > wasnt respoding. > Any suggestions? > > Neha > -- > Posted via http://www.ruby-forum.com/. > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
We have a pdf-writer installed on that box and when we try to access that module then it says PDF is not a class/module. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I assume all mongrels are on that box and it''s happening to this alone? Try: 1. Force all the mongrels to exit. `ps ax | grep mongrel'' shouldn''t show anything alive. This mongrel could be a remnant. 2. Where do you load PDF::Writer? Try requiring it early, in environment.rb 3. PDF::Writer seems to have problems. Switch to an alternative? http://wiki.rubyonrails.org/rails/pages/HowtoGeneratePDFs 4. Google the exact error, it helps a lot. Regards, Vish On 8/9/07, Neha Chopra <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > We have a pdf-writer installed on that box and when we try to access > that module then it says > PDF is not a class/module. > > -- > Posted via http://www.ruby-forum.com/. > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Vishnu Gopal wrote:> I assume all mongrels are on that box and it''s happening to this alone? > > Try: > 1. Force all the mongrels to exit. `ps ax | grep mongrel'' shouldn''t > show anything alive. This mongrel could be a remnant. > 2. Where do you load PDF::Writer? Try requiring it early, in > environment.rb > 3. PDF::Writer seems to have problems. Switch to an alternative? > http://wiki.rubyonrails.org/rails/pages/HowtoGeneratePDFs > 4. Google the exact error, it helps a lot. > > Regards, > VishThat was of gr8 help. We moved the require stmts to environment.rb and it''s working till now. Thanks for the help. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---