Hello,
I have an asus RT-AC68U. I have installed the latest version of Asus Merlin. I have a socat process that redirects packets via an ssh tunnel to a server in the cloud. These are started via post-mount scripts.
I have a local ubuntu server doing the same thing and an openwrt (running as service).
Everthing works well but once in a whilte I have socat shutting down with the following error: "socat[1250] E fork(): Cannot allocate memory"
From the error it seems that there is no memory for a new socat fork. My typical memory usage is as follows
admin@RT-AC68U-BA30:/jffs/scripts# free -mh
total used free shared buffers cached
Mem: 255700 73968 181732 0 1232 13100
-/+ buffers/cache: 59636 196064
Swap: 0 0 0
I am not sure if this specifically with socat (as in memory leak) or it is general for my device.
Has anyone expericed this? Should I add swap?
Any advise would be greatly appreciated.
Raza
I have an asus RT-AC68U. I have installed the latest version of Asus Merlin. I have a socat process that redirects packets via an ssh tunnel to a server in the cloud. These are started via post-mount scripts.
I have a local ubuntu server doing the same thing and an openwrt (running as service).
Everthing works well but once in a whilte I have socat shutting down with the following error: "socat[1250] E fork(): Cannot allocate memory"
From the error it seems that there is no memory for a new socat fork. My typical memory usage is as follows
admin@RT-AC68U-BA30:/jffs/scripts# free -mh
total used free shared buffers cached
Mem: 255700 73968 181732 0 1232 13100
-/+ buffers/cache: 59636 196064
Swap: 0 0 0
I am not sure if this specifically with socat (as in memory leak) or it is general for my device.
Has anyone expericed this? Should I add swap?
Any advise would be greatly appreciated.
Raza