Koozali.org: home of the SME Server

imap ConcurrencyLimit setting and showing?

monoman

imap ConcurrencyLimit setting and showing?
« on: February 23, 2006, 02:07:12 AM »
Hi,

I'm having dificulty finding the ConcurrencyLimit for imap.

db configuration getprop imap ConcurrenyLimit

does not return a value.  Am I doing something wrong?

however, and not related.

db configuration getprop squid status

returns "enabled"

The TroubleshootingFAQ http://no.longer.valid/phpwiki/index.php/TroubleshootingFAQ mentions this:
/sbin/e-smith/config setprop imap ConcurrencyLimit 200
/etc/e-smith/events/actions/imap-conf
svc -t /service/imap

On 7.0pre3 I can't find imap-conf.  Has this changed?


Also, is there somewhere I could find a list of db commands to see what values are set?





Cheers

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: imap ConcurrencyLimit setting and showing?
« Reply #1 on: February 23, 2006, 02:46:08 AM »
Quote from: "monoman"

On 7.0pre3 I can't find imap-conf.  Has this changed?


Yes

Quote

Also, is there somewhere I could find a list of db commands to see what values are set?


config show

monoman

imap ConcurrencyLimit setting and showing?
« Reply #2 on: February 24, 2006, 02:20:23 AM »
Thanks Charlie,

I think I need to increase the ConcurencyLimit

/sbin/e-smith/config setprop imap ConcurrencyLimit 300

However,
/etc/e-smith/events/actions/imap-conf   - does not exist in 7.3pre.  Is there a substitue process.

Also,  do I still run   svc -t /service/imap

Cheers

Offline grand-pa

  • *
  • 190
  • +0/-0
    • SME Server Fr
Re: imap ConcurrencyLimit setting and showing?
« Reply #3 on: February 24, 2006, 02:22:20 AM »
Quote from: "CharlieBrady"
Quote from: "monoman"
/sbin/e-smith/config setprop imap ConcurrencyLimit 200
/etc/e-smith/events/actions/imap-conf
svc -t /service/imap

On 7.0pre3 I can't find imap-conf. Has this changed?

Yes
So, could you tell us what is th best way to change this value ?
I think of two solutions :
Code: [Select]
config setprop imap ConcurrencyLimit 200
signal-event email-update
or
Code: [Select]
config setprop imap ConcurrencyLimit 200
expand-template /var/service/imap/runenv/concurrency
svc -t /service/imap

Other question : is there any documentation on svc ? How does it work and what does it permit ?

Thanks in advance for your help. ;-)
SME Server v7.4 Server and gateway
Shuttle K45, Celeron E1400, 2x1Go DDR2, 2x250 Go SATA2 RAID-1

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: imap ConcurrencyLimit setting and showing?
« Reply #4 on: February 24, 2006, 05:21:06 AM »
Quote from: "grand-pa"

Other question : is there any documentation on svc ?


Google for svc. It's on the first page of results.

But you don't need to know that detail anyway. "signal-event email-update" will do whatever is needed.

monoman

imap ConcurrencyLimit setting and showing?
« Reply #5 on: February 24, 2006, 05:43:35 AM »
Thanks Charlie.  

Just a little follow-on question for the dyslexic (me).

I accidently entered "ConcurrencyLimit", instead of "ConcurrentLimit" - doh!

How do I delete an eroneous db entry?

Offline grand-pa

  • *
  • 190
  • +0/-0
    • SME Server Fr
imap ConcurrencyLimit setting and showing?
« Reply #6 on: February 24, 2006, 05:51:21 AM »
No, this won't affect the system. You can remove it :
Code: [Select]
config delprop imap ConcurrentLimit
SME Server v7.4 Server and gateway
Shuttle K45, Celeron E1400, 2x1Go DDR2, 2x250 Go SATA2 RAID-1

monoman

imap ConcurrencyLimit setting and showing?
« Reply #7 on: February 24, 2006, 05:58:38 AM »
Thanks.

But ConcurrentLimit is needed by the system.  I'm guessing you meant ConcurrencyLimit instead. :)

Chhers

Offline grand-pa

  • *
  • 190
  • +0/-0
    • SME Server Fr
imap ConcurrencyLimit setting and showing?
« Reply #8 on: February 24, 2006, 06:04:04 AM »
Quote from: "monoman"
But ConcurrentLimit is needed by the system.  I'm guessing you meant ConcurrencyLimit instead. :)

Well, as I'm very tired, I won't verify the use of ConcurrentLimit, but since the beginning of this thread, the key you wan't to modify is ConcurrencyLimit. :hammer:
SME Server v7.4 Server and gateway
Shuttle K45, Celeron E1400, 2x1Go DDR2, 2x250 Go SATA2 RAID-1

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
imap ConcurrencyLimit setting and showing?
« Reply #9 on: February 24, 2006, 08:42:25 AM »
So how do I do this for IMAPS ?

Code: [Select]
[root@tiger ~]# db configuration show imaps
imaps=service
    ConcurrencyLimit=200
    TCPPort=993
    access=public
    status=enabled


But my logs show...

Code: [Select]
2006-02-24 18:36:10.386116500 tcpsvd: info: pid 3624 from 192.168.1.110
2006-02-24 18:36:10.386120500 tcpsvd: info: concurrency 3624 192.168.1.110 7/6
2006-02-24 18:36:10.386122500 tcpsvd: info: deny 3624 0:192.168.2.9 ::192.168.1.110:4368 ./peers/0
2006-02-24 18:36:10.386231500 tcpsvd: info: end 3624 exit 100
2006-02-24 18:36:10.386250500 tcpsvd: info: status 6/400


Can someone spell out the steps for me ?
Regards,
William

IF I give advise.. It's only if it was me....

bender42

what is the limit for concurrency
« Reply #10 on: March 02, 2006, 05:49:06 PM »
I have massive problems with the imap access from the local network.
I used sme 6.01 and fresh installed sme 7 pre3. I copied the Mails to the user directories and everything seemed ok. But the users get errors accessing the imap folders (offending imap command). It got better by adjusting the concurrency for imap to 1000 but I guess I get other problems with this.

The users access the mailserver with entourage or outlook express.
Even thunderbird gives an error.

Any hints?

thanks

Oliver

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: what is the limit for concurrency
« Reply #11 on: March 02, 2006, 06:13:05 PM »
Quote from: "bender42"
I have massive problems with the imap access from the local network.
...
Any hints?


Report your problems in detail via the Bug Tracker.