[Users] [Bug 4104] SMTP doesn't work over VPN

Michael Rasmussen mir at miras.org
Wed Nov 28 17:51:08 CET 2018


On Wed, 28 Nov 2018 17:17:53 +0100
Michal Suchánek <msuchanek at suse.de> wrote:

> On Wed, 28 Nov 2018 14:57:35 +0100
> "Paul Rolland (ポール・ロラン)" <rol at witbe.net> wrote:
> 
> > Hello,
> > 
> > On Wed, 28 Nov 2018 14:27:07 +0100
> > Michal Suchánek <msuchanek at suse.de> wrote:
> >   
> > > No. It is reported in the terminal as 
> > > 
> > > fork: Cannot allocate memory
> > > 
> > > but it is not reported in the networking log window at all.
> > > Without logging the terminal messages or tracing claws you have
> > > no idea what happened.    
> > 
> > Could it be conn_data->lookup_data not being freed ?
> > 
> > Not sure though, I'm not familiar with common/socket.c...
> >   
> 
> It looks like this code:
> 
> #ifndef G_OS_WIN32
>         if ((lookup_data->child_pid = fork()) < 0) {
>                 perror("fork");
>                 func(NULL, data);
>                 g_free (lookup_data->hostname);
>                 g_free (lookup_data);
>                 return NULL;
>         }
> 
> It produces the observed message and never propagates a meaningful
> error. There you go.
> 
RETURN VALUE
On success, the PID of the child process is returned in the parent, and
0 is returned in the child. On failure, -1 is returned in the parent,
no child process is created, and errno is set appropriately.

.....
ENOMEM
fork() failed to allocate the necessary kernel structures because
memory is tight.

CONFORMING TO SVr4, 4.3BSD, POSIX.1-2001.

So it does not necessarily mean that claws is leaking memory. It could
also be because other processes running on your system has taken all
available memory.

Try use top to see what is using memory.

-- 
Hilsen/Regards
Michael Rasmussen

Get my public GnuPG keys:
michael <at> rasmussen <dot> cc
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD3C9A00E
mir <at> datanom <dot> net
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE501F51C
mir <at> miras <dot> org
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE3E80917
--------------------------------------------------------------
/usr/games/fortune -es says:
It's always sad when the fleas leave, because that means your dog is
dead. -- Wesley T. Williams
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.claws-mail.org/pipermail/users/attachments/20181128/63e06bbc/attachment.sig>


More information about the Users mailing list