FreeBSD11: Hanging from time to time

The name of the pictureThe name of the pictureThe name of the pictureClash 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.



enter image description here



Also tried to install apm but no success.



enter image description here



Tried to check if there is any kernel module loaded (kldstat) to manage power, but it doesn’t look like the case:



kldstat



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?







share|improve this question






















  • 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 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






  • 1




    So maybe the problem was fixed for Linux, for that particular NIC?
    – Satō Katsura
    Feb 27 at 8:59














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.



enter image description here



Also tried to install apm but no success.



enter image description here



Tried to check if there is any kernel module loaded (kldstat) to manage power, but it doesn’t look like the case:



kldstat



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?







share|improve this question






















  • 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 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






  • 1




    So maybe the problem was fixed for Linux, for that particular NIC?
    – Satō Katsura
    Feb 27 at 8:59












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.



enter image description here



Also tried to install apm but no success.



enter image description here



Tried to check if there is any kernel module loaded (kldstat) to manage power, but it doesn’t look like the case:



kldstat



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?







share|improve this question














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.



enter image description here



Also tried to install apm but no success.



enter image description here



Tried to check if there is any kernel module loaded (kldstat) to manage power, but it doesn’t look like the case:



kldstat



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?









share|improve this question













share|improve this question




share|improve this question








edited Feb 28 at 23:32

























asked Feb 26 at 22:43









TTKDroid

1565




1565











  • 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 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






  • 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






  • 1




    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










  • 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















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















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



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














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













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Bahrain

Postfix configuration issue with fips on centos 7; mailgun relay