Re: Pop process hangs in the write()

2009-03-04 Thread Dan White
ram wrote:
> On Mon, 2009-03-02 at 09:15 -0600, Dan White wrote:
>   
>> You could enable telemetry logging, which should help to rule out a 
>> problem with the client.
>>
>> 
>
> How do I do that ? 
>
>
>   

See:

http://cyrusimap.web.cmu.edu/imapd/overview.html

You create a folder with the same name as the user connecting, 
underneath the cyrus log directory. Make sure you set appropriate 
permissions on the directory so that cyrus can write to it.

Telemetry logging logs each interaction between the client and the 
server, except for authentication, which isn't logged. Also, if you're 
receiving a pop lock response, that probably does not get logged in 
telemetry logging either, so you should also monitor your syslog for 
connection attempts.

You want to verify that the client is sending a 'quit' at the end of 
each telemetry log.

- Dan

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Pop process hangs in the write()

2009-03-04 Thread Matt Selsky
On Mar 4, 2009, at 3:52 AM, ram wrote:

> On Mon, 2009-03-02 at 09:15 -0600, Dan White wrote:
>>
>> You could enable telemetry logging, which should help to rule out a
>> problem with the client.
>
> How do I do that ?

# mkdir /var/lib/imap/log/$user
# chown cyrus /var/lib/imap/log/$user

One file will be created in that directory for every process used by  
that user.


-- 
Matt


Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Pop process hangs in the write()

2009-03-04 Thread ram

On Mon, 2009-03-02 at 09:15 -0600, Dan White wrote:
> ram wrote:
> > I have problem at a clients end exactly same as described in this
> >
> > http://marc.info/?l=info-cyrus&m=108967188821511&w=2
> >
> > A pop process blocks at write() for any mail at random. And they start
> > getting pop lock issues 
> >
> > I have checked with the customer , there is no IDS on their network 
> > Is there any other way I can debug this issue 
> >
> >   
> 
> You could enable telemetry logging, which should help to rule out a 
> problem with the client.
> 



How do I do that ? 


> - Dan


Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Pop process hangs in the write()

2009-03-02 Thread Dan White
ram wrote:
> I have problem at a clients end exactly same as described in this
>
> http://marc.info/?l=info-cyrus&m=108967188821511&w=2
>
> A pop process blocks at write() for any mail at random. And they start
> getting pop lock issues 
>
> I have checked with the customer , there is no IDS on their network 
> Is there any other way I can debug this issue 
>
>   

You could enable telemetry logging, which should help to rule out a 
problem with the client.

- Dan

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Pop process hangs in the write()

2009-03-02 Thread Stefan Schmidt
Hi,

On Monday 02 March 2009 12:33:43 ram wrote:
> I have problem at a clients end exactly same as described in this
>
> http://marc.info/?l=info-cyrus&m=108967188821511&w=2
>
> A pop process blocks at write() for any mail at random. And they
> start getting pop lock issues
>
> I have checked with the customer , there is no IDS on their network
> Is there any other way I can debug this issue

I have seen issues with pop3d's locking up some weeks agao while 
maintaining our University's Cyrus IMAPD installation.

It turned out to be caused by the used file system for /var/lib/imap. We 
used reiserfs there - the system itself is a openSUSE 11.1 and has been 
older SUSE-variants before.

After reformatting with xfs, which we have used for the mailbox 
partitions everything went smooth again.

I didi not follow this issue, as the system had to be running without 
flaws in the shortest possible time.

This should be no reiserfs-bashing. I use it frequently without 
problems, but here it broke something.

HTH,

Stefan
-- 
Stefan Schmidt  listrea...@jsj.dyndns.org

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Pop process hangs in the write()

2009-03-02 Thread ram
I have problem at a clients end exactly same as described in this

http://marc.info/?l=info-cyrus&m=108967188821511&w=2

A pop process blocks at write() for any mail at random. And they start
getting pop lock issues 

I have checked with the customer , there is no IDS on their network 
Is there any other way I can debug this issue 








Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html