Thanks.
My changes are not showing up in the new web page
- Dbcuser
- Posts: 2
- Starts: 2
- Wiki Edits: 0
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.
Thanks.
- Rahul
- Posts: 498
- Starts: 0
- Wiki Edits: 1
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.
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
- Dbcuser
- Posts: 2
- Starts: 2
- Wiki Edits: 0
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.
Thank you very much.
2007-07-22 07:08 PM
- William
- Posts: 1052
- Starts: 32
- Wiki Edits: 56
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
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
- Dbcuser
- Posts: 2
- Starts: 2
- Wiki Edits: 0
Thank you very much and that worked.
Thanks again.
Thanks again.