Displaying 3 results from an estimated 3 matches for "unix_dgram_send_job".
2017 May 09
1
答复: The memory maybe leak in samba 4.3.11
...ibsmbconf.so.0)
> ==2796353== by 0xAE6692F: ??? (in /usr/lib/x86_64-linux-gnu/samba/libdbwrap.so.0)
>
> Ifound the sendmsg is always failed because erron=EINTR, but smbd also need to malloc for the new msgs, so the res of the smbd grows up quickly.
>
> I add some code in unix_dgram_send_job, just send 10 times if sendmsg faild with EINTR, the res will not grows up anymore.
> Another, keep the max queue length to 100 also work well.
>
> I don’t know whether it is suitable for the process, also, I want to know why sendmsg return EINTR.
EINTR always means a signal was received...
2017 May 04
2
The memory maybe leak in samba 4.3.11
Oeps, sorry wrong one.
There where multiple fixes.
https://wiki.samba.org/index.php/Samba_4.4_Features_added/changed
BUG #12377: vfs_glusterfs: Fix a memory leak in connect path.
https://wiki.samba.org/index.php/Samba_4.5_Features_added/changed
BUG #12485: ctdbd_conn: Fix a resource leak.
https://wiki.samba.org/index.php/Samba_4.6_Features_added/changed
## BUG #12624: lib/pthreadpool: Fix
2017 May 09
0
答复: The memory maybe leak in samba 4.3.11
...sr/lib/x86_64-linux-gnu/libsmbconf.so.0)
==2796353== by 0xAE6692F: ??? (in /usr/lib/x86_64-linux-gnu/samba/libdbwrap.so.0)
Ifound the sendmsg is always failed because erron=EINTR, but smbd also need to malloc for the new msgs, so the res of the smbd grows up quickly.
I add some code in unix_dgram_send_job, just send 10 times if sendmsg faild with EINTR, the res will not grows up anymore.
Another, keep the max queue length to 100 also work well.
I don’t know whether it is suitable for the process, also, I want to know why sendmsg return EINTR.
Could you give us some suggestion about the case.
Br,
Z...