Welcome Guest | Login

My changes are not showing up in the new web page

I made some changes to my rails application and uploaded it to the site, but the application doesn't reflect my changes. How can I make the application restart?
Thanks.

2007-07-22 11:18 AM

Hello,

If you are running your application on mongrel. Please kill the prevailing mongrel process ID and restart  mongrel on the assigned port. This will fix the issue.

2007-07-22 11:22 AM

Regards,
Rahul
how can I kill process id? what are the commands for that and do I have to perform that in SSH mode?
Thank you very much.

2007-07-22 07:08 PM

To kill the process id, yes, you need to SSH into your account.  At the commnad line simply type

top

and note the PID of the mongrel and then issue

kill -9 <pid>

---

However, I'm guessing you're running your app off FastCGI

in that case simply run

killall dispatch.fcgi

and it will kill off your dispatcher and enable your app to reload upload the next hit.  (note, you will not be able to kill others' fastcgi processes, hence all the 'no permitted' warnings you'll see, which is OK).  In this case you do not need to worry about any PIDs

2007-07-22 07:14 PM

Thank you very much and that worked.
Thanks again.

2007-07-22 07:25 PM


Hello Guest! In order to post you must be an active client with us, please log in or sign up.