Score:0

PHP Error waiting on socket

in flag

I'm getting problems with ssh2 and fread php function that started on a few days.

On the apache error log show:

ssh2_connect(): Error starting up SSH connection(-9): Error waiting on socket 

fread(): Failure 'Error waiting on socket' (-9)

I'm searching for it on internet but have no success.

The server have much connections, maybe can be this?

# netstat -anp | wc -l
102407

# netstat -anp | grep TIME_WAIT -c
97444

# cat /proc/sys/net/netfilter/nf_conntrack_count
263737

My sysctl.conf

net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
fs.file-max = 13143781
net.netfilter.nf_conntrack_max = 900000
net.nf_conntrack_max = 900000
net.core.wmem_max = 12582912
net.core.rmem_max = 12582912
net.ipv4.tcp_rmem = 10240 87380 12582912
net.ipv4.tcp_wmem = 10240 87380 12582912
net.ipv4.tcp_window_scaling = 1
net.ipv4.tcp_timestamps = 1
net.ipv4.tcp_sack = 1
net.ipv4.tcp_no_metrics_save = 1
net.core.netdev_max_backlog = 5000
net.ipv4.ip_local_port_range = 1024 65535
net.ipv4.tcp_max_syn_backlog = 4096
net.core.somaxconn = 1024
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.