| Author |
Message |
|
| Guest |
Posted: Mon Jun 28, 2010 11:09 am |
|
|
|
Guest
|
Evgeniy Khramtsov <xramtsov <at> gmail.com> writes:
>
> 28.06.2010 03:51, Vyacheslav Karpukhin wrote:
> >
> > CentOS is one of the most stable Linux systems,
> > there are other services on this server which don't
> > have any problems with network..
> >
> > i don't think that's the problem of OS, Erlang maybe?..
> >
>
> You didn't actually even describe your problem. You just said you have
> {error, closed} in your log. How often does this error occur? Does this
> happen with all s2s connections or only with jabber.karpukhina.ru? Or
> you have the problem with c2s connections as well?
>
this problem occurs every day, once in several hours.
it occurs for EVERY s2s connection, c2s connections
are not affected.
_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Mon Jun 28, 2010 11:09 am |
|
|
|
Guest
|
28.06.2010 03:51, Vyacheslav Karpukhin wrote:
>
> CentOS is one of the most stable Linux systems,
> there are other services on this server which don't
> have any problems with network..
>
> i don't think that's the problem of OS, Erlang maybe?..
>
You didn't actually even describe your problem. You just said you have
{error, closed} in your log. How often does this error occur? Does this
happen with all s2s connections or only with jabber.karpukhina.ru? Or
you have the problem with c2s connections as well?
--
Regards,
Evgeniy Khramtsov, ProcessOne.
xmpp:xram@jabber.ru.
_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Mon Jun 28, 2010 11:49 am |
|
|
|
Guest
|
Evgeniy Khramtsov <xramtsov <at> gmail.com> writes:
>
> 28.06.2010 00:08, Vyacheslav Karpukhin wrote:
> > what is the reason? how to fix it?
> > i'm running ejabberd 2.1.4 on CentOS linux 5.5
> >
>
> To fix what? TCP stack on your OS?
> How does that relate to ejabberd?
>
CentOS is one of the most stable Linux systems,
there are other services on this server which don't
have any problems with network..
i don't think that's the problem of OS, Erlang maybe?..
_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Mon Jun 28, 2010 11:49 am |
|
|
|
Guest
|
|
| Back to top |
|
| Guest |
Posted: Mon Jun 28, 2010 11:49 am |
|
|
|
Guest
|
I recommend you use tcpdump to actually see what is going on with the TCP connection when this problem occurs. I expect you'll find that the issue is firewall related (ie: the remote destination is responding to your SYN with an RST.) You should read up on using tcpdump to diagnose network issues as the error reported is happening entirely outside the erlang VM.
-Sylvain
On Sun, Jun 27, 2010 at 10:51 AM, Vyacheslav Karpukhin <vyacheslav@karpukhin.com (vyacheslav@karpukhin.com)> wrote:
Quote: Evgeniy Khramtsov <xramtsov <at> gmail.com> writes:
>
> 28.06.2010 00:08, Vyacheslav Karpukhin wrote:
> > what is the reason? how to fix it?
> > i'm running ejabberd 2.1.4 on CentOS linux 5.5
> >
>
> To fix what? TCP stack on your OS?
> How does that relate to ejabberd?
>
CentOS is one of the most stable Linux systems,
there are other services on this server which don't
have any problems with network..
i don't think that's the problem of OS, Erlang maybe?..
_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru (ejabberd@jabber.ru)
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Mon Jun 28, 2010 11:49 am |
|
|
|
Guest
|
Evgeniy Khramtsov <xramtsov <at> gmail.com> writes:
>
> 27.06.2010 09:19, Vyacheslav Karpukhin wrote:
> > hi. anyone knows what does the "Error in gen_tcp:send:" mean?
> > context of the error: http://pastebin.org/360136
>
> That means some TCP low-level error occured. In your case the socket was
> unexpectedly closed.
>
what is the reason? how to fix it?
i'm running ejabberd 2.1.4 on CentOS linux 5.5
_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Mon Jun 28, 2010 11:49 am |
|
|
|
Guest
|
28.06.2010 00:08, Vyacheslav Karpukhin wrote:
> what is the reason? how to fix it?
> i'm running ejabberd 2.1.4 on CentOS linux 5.5
>
To fix what? TCP stack on your OS? How does that relate to ejabberd?
--
Regards,
Evgeniy Khramtsov, ProcessOne.
xmpp:xram@jabber.ru.
_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Mon Jun 28, 2010 11:49 am |
|
|
|
Guest
|
27.06.2010 09:19, Vyacheslav Karpukhin wrote:
> hi. anyone knows what does the "Error in gen_tcp:send:" mean?
> context of the error: http://pastebin.org/360136
That means some TCP low-level error occured. In your case the socket was
unexpectedly closed.
--
Regards,
Evgeniy Khramtsov, ProcessOne.
xmpp:xram@jabber.ru.
_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Thu Jul 01, 2010 7:06 pm |
|
|
|
Guest
|
Sylvain Niles <sylvain.niles <at> gmail.com> writes:
> I recommend you use tcpdump to actually see what
> is going on with the TCP connection when this
> problem occurs. I expect you'll find that the issue
> is firewall related (ie: the remote destination is
> responding to your SYN with an RST.) You should
> read up on using tcpdump to diagnose network issues
> as the error reported is happening entirely outside the erlang VM.
i did as you suggested. my server sends SYN, other
side responds with SYN and ACK, and then MY server
responds with RST! and that's where {error,closed}
appears in log. why would it do that? connection
doesn't blocked by firewall, if i try again right after
this problem occurs -- it works..
how can i find what's the reason of that RST?
here is the link to tcpdump binary log:
http://dl.stigger.psihaven.com/files/tcpdump.bin
_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Fri Jul 02, 2010 3:03 am |
|
|
|
Guest
|
02.07.2010 05:05, Vyacheslav Karpukhin wrote:
>
> i did as you suggested. my server sends SYN, other
> side responds with SYN and ACK, and then MY server
> responds with RST
What version of Erlang you are using? Does server restart help?
--
Regards,
Evgeniy Khramtsov, ProcessOne.
xmpp:xram@jabber.ru.
_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Fri Jul 02, 2010 6:08 pm |
|
|
|
Guest
|
Evgeniy Khramtsov <xramtsov <at> gmail.com> writes:
> > i did as you suggested. my server sends SYN, other
> > side responds with SYN and ACK, and then MY server
> > responds with RST
>
> What version of Erlang you are using?
R12B
> Does server restart help?
no.
_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Wed Jul 07, 2010 10:17 am |
|
|
|
Guest
|
Vyacheslav Karpukhin <vyacheslav <at> karpukhin.com> writes:
> > > i did as you suggested. my server sends SYN, other
> > > side responds with SYN and ACK, and then MY server
> > > responds with RST
> >
> > What version of Erlang you are using?
> R12B
> > Does server restart help?
> no.
any ideas?…
_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Fri Jul 09, 2010 12:43 am |
|
|
|
Guest
|
07.07.2010 20:16, Vyacheslav Karpukhin wrote:
> any ideas?…
Try to update Erlang maybe (R13B04)? Not sure if it helps though...
--
Regards,
Evgeniy Khramtsov, ProcessOne.
xmpp:xram@jabber.ru.
_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Sat Jul 10, 2010 4:40 am |
|
|
|
Guest
|
Evgeniy Khramtsov <xramtsov <at> gmail.com> writes:
> > any ideas?…
>
> Try to update Erlang maybe (R13B04)? Not sure if it helps though...
i'm using erlang which bundled with ejabberd,
so i almost sure that it won't help =(
_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Sat Jul 10, 2010 2:22 pm |
|
|
|
Guest
|
Vyacheslav Karpukhin <vyacheslav <at> karpukhin.com> writes:
> > > any ideas?…
> >
> > Try to update Erlang maybe (R13B04)? Not sure if it helps though...
>
> i'm using erlang which bundled with ejabberd,
> so i almost sure that it won't help =(
i switched my ejabberd installation from bundled erlang
to the erlang that i installed from rpmforge repo for
centos 5 (both erlangs are the same version).
that solved my problem! finally!
does that mean that bundled erlang is broken or something?
_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post received from mailinglist |
|
|
| Back to top |
|
|
|