apollo icon indicating copy to clipboard operation
apollo copied to clipboard

dreamview node keep alive problem

Open ImCabbage opened this issue 8 years ago • 10 comments

Recently I met a problem in starting dreamview with the latest code and newest image. I use the command bash scripts/dreamview.sh start_fe But I got the error msg saying that another node with the same name exist. I could not even rosnode kill it. I have checked my supervisorctl and confirmed that all the nodes are stopped and I could not see anything when I try to ps aux | grep dreamview. But it indeed exists in the rosnode list and could not be killed. I don't know why since some of my friends have encountered this.

ImCabbage avatar Jun 25 '18 15:06 ImCabbage

If rosnode list shows you a dreamview, then there is one that is alive but perhaps not on the local machine? Are there are machines in the system with same ROS_DOMAIN_ID that you might be pointing to? You can try the following commands to help you: rosnode ping /dreamview -> Tells you if node is alive and responds to ping rosnode info /dreamview -> Tell you some useful informaton about the node, including its process id (but again, note it may be on a different machine)

It is possible it cannot be killed because the unix process is owned by someone else and you don't have permission to terminate it.

osaman88 avatar Jun 25 '18 16:06 osaman88

Hi, I am pretty sure that the dreamview is not in the system process. So I got nothing when I tried to rosnode ping this node. Below is the screen shot of what I got when I run rosnode info /dreamview:

On Tue, Jun 26, 2018 at 12:29 AM, Osaman The Eighty Eight-th < [email protected]> wrote:

If rosnode list shows you a dreamview, then there is one that is alive but perhaps not on the local machine? Are there are machines in the system with same ROS_DOMAIN_ID that you might be pointing to? You can try the following commands to help you: rosnode ping /dreamview -> Tells you if node is alive and responds to ping rosnode info /dreamview -> Tell you some useful informaton about the node, including its process id (but again, note it may be on a different machine)

It is possible it cannot be killed because the unix process is owned by someone else and you don't have permission to terminate it.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ApolloAuto/apollo/issues/4676#issuecomment-400013624, or mute the thread https://github.com/notifications/unsubscribe-auth/ANZTtkvaCxcun7gtgXU_cwCEYFchYa4Fks5uAQ_7gaJpZM4U2VJN .

ImCabbage avatar Jun 26 '18 01:06 ImCabbage

Seems like a ROS problem, reassigning to @quning78

siyangy avatar Jun 26 '18 01:06 siyangy

@ImCabbage Thank you for your feedback, we are trying to reproduce this issue to locate its root cause. After the problem is solved, you will be notified.

fengqikai1414 avatar Jul 04 '18 07:07 fengqikai1414

Hi, Kevie, Thanks for your information. Just want to kindly provide you with some information based on my experience.

I use 16.04 outside the docker and I found most of my friends who met this problem use it too. Those who use 14.04 do not have the same problem. I guess one problem could be the compatibility problem with the system.

Another possibility could be the compatibility between two ROS which is outside the docker and the one that you customized since my friends who have not install ROS outside the docker did not have this problem.

BR, Cabbage

On Wed, Jul 4, 2018 at 3:27 PM, Kevie Feng [email protected] wrote:

@ImCabbage https://github.com/ImCabbage Thank you for your feedback, we are trying to reproduce this issue to locate its root cause. After the problem is solved, you will be notified.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ApolloAuto/apollo/issues/4676#issuecomment-402389020, or mute the thread https://github.com/notifications/unsubscribe-auth/ANZTth2Iew0POXjbw3gyB6s_0_IImImfks5uDG5ygaJpZM4U2VJN .

ImCabbage avatar Jul 05 '18 02:07 ImCabbage

Hi, Kevie, About the issue I proposed, do you have any idea already? I still have the same problem.

Cabbage

On Thu, Jul 5, 2018 at 10:07 AM, Hao Lyu [email protected] wrote:

Hi, Kevie, Thanks for your information. Just want to kindly provide you with some information based on my experience.

I use 16.04 outside the docker and I found most of my friends who met this problem use it too. Those who use 14.04 do not have the same problem. I guess one problem could be the compatibility problem with the system.

Another possibility could be the compatibility between two ROS which is outside the docker and the one that you customized since my friends who have not install ROS outside the docker did not have this problem.

BR, Cabbage

On Wed, Jul 4, 2018 at 3:27 PM, Kevie Feng [email protected] wrote:

@ImCabbage https://github.com/ImCabbage Thank you for your feedback, we are trying to reproduce this issue to locate its root cause. After the problem is solved, you will be notified.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ApolloAuto/apollo/issues/4676#issuecomment-402389020, or mute the thread https://github.com/notifications/unsubscribe-auth/ANZTth2Iew0POXjbw3gyB6s_0_IImImfks5uDG5ygaJpZM4U2VJN .

ImCabbage avatar Jul 13 '18 06:07 ImCabbage

Hi, @ImCabbage , We haven't tested enough on apollo docker on ubuntu 16.04 yet, and you should try to use the software configuration recommended by apollo. Of course, we will consider whether it is necessary to adapt ubuntu 16 later. However, I have found some information here, which may help to solve this problem. rosmaster leaves sockets in CLOSE_WAIT state

fengqikai1414 avatar Jul 15 '18 02:07 fengqikai1414

@ImCabbage have you resolved the issue you were facing?

natashadsouza avatar Sep 05 '18 20:09 natashadsouza

I changed back to Ubuntu 14.04 and have not met the same issue yet.

On Thu, Sep 6, 2018 at 4:52 AM Natasha Dsouza [email protected] wrote:

@ImCabbage https://github.com/ImCabbage have you resolved the issue you were facing?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ApolloAuto/apollo/issues/4676#issuecomment-418877348, or mute the thread https://github.com/notifications/unsubscribe-auth/ANZTthOOKUivHrh75w4fEVcRc0A1wjGEks5uYDmUgaJpZM4U2VJN .

ImCabbage avatar Sep 28 '18 01:09 ImCabbage

Closing this issue as it appears to be resolved in Ubuntu 14.04

natashadsouza avatar Sep 28 '18 20:09 natashadsouza