FreeBSD11: Hanging from time to time
Clash Royale CLAN TAG#URR8PPP
up vote
4
down vote
favorite
IâÂÂm running FreeBSD on my beaglebone black headless server and everything looks perfect, however, after some time idle (no user interaction) it stops responding to any incoming connection (ssh/http) but if I ping it, I get an answer back.
It was not accepting ssh or http connections, IâÂÂve used an app called Fing to ping the BBB and it responded the pings but nothing else was responding. I tried the Wake on LAN function and it started to respond ssh and http. Coincidence or not, I was experiencing these âÂÂhangsâ everyday, several times a day, after the WoL the BBB is up and running for 3 days now. I didnâÂÂt restart the BBB. I had a look on dmesg to see if there is any apm running and nothing, /var/log/messages doesnâÂÂt give me any clue, looks like nothing happened. The BBB is wired straight to my router and the IP address is locked/reserved to its MAC address.
Tried to check apm status but apm is not installed.
Also tried to install apm but no success.
Tried to check if there is any kernel module loaded (kldstat) to manage power, but it doesnâÂÂt look like the case:
Did anyone face a similar issue, or know if there is any way to prevent FreeBSD to âÂÂsleepâÂÂ, or have a clue of what is happening?
freebsd
 |Â
show 10 more comments
up vote
4
down vote
favorite
IâÂÂm running FreeBSD on my beaglebone black headless server and everything looks perfect, however, after some time idle (no user interaction) it stops responding to any incoming connection (ssh/http) but if I ping it, I get an answer back.
It was not accepting ssh or http connections, IâÂÂve used an app called Fing to ping the BBB and it responded the pings but nothing else was responding. I tried the Wake on LAN function and it started to respond ssh and http. Coincidence or not, I was experiencing these âÂÂhangsâ everyday, several times a day, after the WoL the BBB is up and running for 3 days now. I didnâÂÂt restart the BBB. I had a look on dmesg to see if there is any apm running and nothing, /var/log/messages doesnâÂÂt give me any clue, looks like nothing happened. The BBB is wired straight to my router and the IP address is locked/reserved to its MAC address.
Tried to check apm status but apm is not installed.
Also tried to install apm but no success.
Tried to check if there is any kernel module loaded (kldstat) to manage power, but it doesnâÂÂt look like the case:
Did anyone face a similar issue, or know if there is any way to prevent FreeBSD to âÂÂsleepâÂÂ, or have a clue of what is happening?
freebsd
What doesapm -s
says?
â Rui F Ribeiro
Feb 27 at 0:42
1
apm: command not found
â TTKDroid
Feb 27 at 3:00
Append/usr/local/sbin:/usr/sbin:/sbin
to yourPATH
, and edit the then answer to M. Ribeiro's query into your question.
â JdeBP
Feb 27 at 8:19
A wild guess: your NIC enters a power saving state. This problem comes up every once in a while across different machines and OSes.
â Satà  Katsura
Feb 27 at 8:28
1
So maybe the problem was fixed for Linux, for that particular NIC?
â Satà  Katsura
Feb 27 at 8:59
 |Â
show 10 more comments
up vote
4
down vote
favorite
up vote
4
down vote
favorite
IâÂÂm running FreeBSD on my beaglebone black headless server and everything looks perfect, however, after some time idle (no user interaction) it stops responding to any incoming connection (ssh/http) but if I ping it, I get an answer back.
It was not accepting ssh or http connections, IâÂÂve used an app called Fing to ping the BBB and it responded the pings but nothing else was responding. I tried the Wake on LAN function and it started to respond ssh and http. Coincidence or not, I was experiencing these âÂÂhangsâ everyday, several times a day, after the WoL the BBB is up and running for 3 days now. I didnâÂÂt restart the BBB. I had a look on dmesg to see if there is any apm running and nothing, /var/log/messages doesnâÂÂt give me any clue, looks like nothing happened. The BBB is wired straight to my router and the IP address is locked/reserved to its MAC address.
Tried to check apm status but apm is not installed.
Also tried to install apm but no success.
Tried to check if there is any kernel module loaded (kldstat) to manage power, but it doesnâÂÂt look like the case:
Did anyone face a similar issue, or know if there is any way to prevent FreeBSD to âÂÂsleepâÂÂ, or have a clue of what is happening?
freebsd
IâÂÂm running FreeBSD on my beaglebone black headless server and everything looks perfect, however, after some time idle (no user interaction) it stops responding to any incoming connection (ssh/http) but if I ping it, I get an answer back.
It was not accepting ssh or http connections, IâÂÂve used an app called Fing to ping the BBB and it responded the pings but nothing else was responding. I tried the Wake on LAN function and it started to respond ssh and http. Coincidence or not, I was experiencing these âÂÂhangsâ everyday, several times a day, after the WoL the BBB is up and running for 3 days now. I didnâÂÂt restart the BBB. I had a look on dmesg to see if there is any apm running and nothing, /var/log/messages doesnâÂÂt give me any clue, looks like nothing happened. The BBB is wired straight to my router and the IP address is locked/reserved to its MAC address.
Tried to check apm status but apm is not installed.
Also tried to install apm but no success.
Tried to check if there is any kernel module loaded (kldstat) to manage power, but it doesnâÂÂt look like the case:
Did anyone face a similar issue, or know if there is any way to prevent FreeBSD to âÂÂsleepâÂÂ, or have a clue of what is happening?
freebsd
edited Feb 28 at 23:32
asked Feb 26 at 22:43
TTKDroid
1565
1565
What doesapm -s
says?
â Rui F Ribeiro
Feb 27 at 0:42
1
apm: command not found
â TTKDroid
Feb 27 at 3:00
Append/usr/local/sbin:/usr/sbin:/sbin
to yourPATH
, and edit the then answer to M. Ribeiro's query into your question.
â JdeBP
Feb 27 at 8:19
A wild guess: your NIC enters a power saving state. This problem comes up every once in a while across different machines and OSes.
â Satà  Katsura
Feb 27 at 8:28
1
So maybe the problem was fixed for Linux, for that particular NIC?
â Satà  Katsura
Feb 27 at 8:59
 |Â
show 10 more comments
What doesapm -s
says?
â Rui F Ribeiro
Feb 27 at 0:42
1
apm: command not found
â TTKDroid
Feb 27 at 3:00
Append/usr/local/sbin:/usr/sbin:/sbin
to yourPATH
, and edit the then answer to M. Ribeiro's query into your question.
â JdeBP
Feb 27 at 8:19
A wild guess: your NIC enters a power saving state. This problem comes up every once in a while across different machines and OSes.
â Satà  Katsura
Feb 27 at 8:28
1
So maybe the problem was fixed for Linux, for that particular NIC?
â Satà  Katsura
Feb 27 at 8:59
What does
apm -s
says?â Rui F Ribeiro
Feb 27 at 0:42
What does
apm -s
says?â Rui F Ribeiro
Feb 27 at 0:42
1
1
apm: command not found
â TTKDroid
Feb 27 at 3:00
apm: command not found
â TTKDroid
Feb 27 at 3:00
Append
/usr/local/sbin:/usr/sbin:/sbin
to your PATH
, and edit the then answer to M. Ribeiro's query into your question.â JdeBP
Feb 27 at 8:19
Append
/usr/local/sbin:/usr/sbin:/sbin
to your PATH
, and edit the then answer to M. Ribeiro's query into your question.â JdeBP
Feb 27 at 8:19
A wild guess: your NIC enters a power saving state. This problem comes up every once in a while across different machines and OSes.
â Satà  Katsura
Feb 27 at 8:28
A wild guess: your NIC enters a power saving state. This problem comes up every once in a while across different machines and OSes.
â Satà  Katsura
Feb 27 at 8:28
1
1
So maybe the problem was fixed for Linux, for that particular NIC?
â Satà  Katsura
Feb 27 at 8:59
So maybe the problem was fixed for Linux, for that particular NIC?
â Satà  Katsura
Feb 27 at 8:59
 |Â
show 10 more comments
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f426813%2ffreebsd11-hanging-from-time-to-time%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
What does
apm -s
says?â Rui F Ribeiro
Feb 27 at 0:42
1
apm: command not found
â TTKDroid
Feb 27 at 3:00
Append
/usr/local/sbin:/usr/sbin:/sbin
to yourPATH
, and edit the then answer to M. Ribeiro's query into your question.â JdeBP
Feb 27 at 8:19
A wild guess: your NIC enters a power saving state. This problem comes up every once in a while across different machines and OSes.
â Satà  Katsura
Feb 27 at 8:28
1
So maybe the problem was fixed for Linux, for that particular NIC?
â Satà  Katsura
Feb 27 at 8:59