Re: [vchkpw] concurrency

2006-07-09 Thread jhq
Hello Michael, As for (2), there may be a chance of conflict in theory, because vpop commands do not implement the mechanism to avoid the concurrent access. But, in the real world, it is the rare case that the same folder is created/deleted at the same time. When would you

Re: [vchkpw] concurrency

2006-07-08 Thread jhq
Hello Michael, In theory, ther'es always potential, particularly when dealing with files on disk. One program could in theory do one thing and not another. The MySQL database should deal with its own concurrency. The CDB database has .vpasswd.lock files when updating the password files.

Re: [vchkpw] concurrency

2006-07-08 Thread Michael Krieger
[EMAIL PROTECTED] wrote:As for (1), SQL database and CDB have their own mechanism to serialize the concurrent access, so we will not worry about it.Well SQL has its own locking, be it table or row level that will prevent a single domain from being updated at the same time. For example, an update

[vchkpw] concurrency

2006-07-05 Thread jhq
Hello, Can we run the commands in: /home/vpopmail/bin concurrently? For instance, can someone run vadduser [EMAIL PROTECTED] password_foo at the time when someone else run: vadduser [EMAIL PROTECTED] password_bar ? Jun

Re: [vchkpw] concurrency

2006-07-05 Thread Jeremy Kitchen
On Wednesday 05 July 2006 11:39, [EMAIL PROTECTED] wrote: Hello, Can we run the commands in: /home/vpopmail/bin concurrently? For instance, can someone run vadduser [EMAIL PROTECTED] password_foo at the time when someone else run: vadduser [EMAIL PROTECTED] password_bar ? depends

Re: [vchkpw] concurrency

2006-07-05 Thread jhq
Hello Jeremy, Can we run the commands in: /home/vpopmail/bin concurrently? For instance, can someone run vadduser [EMAIL PROTECTED] password_foo at the time when someone else run: vadduser [EMAIL PROTECTED] password_bar ? depends on what they do. If they will modify the same files,

Re: [vchkpw] concurrency

2006-07-05 Thread Michael Krieger
In theory, ther'es always potential, particularly when dealing with files on disk. One program could in theory do one thing and not another.The MySQL database should deal with its own concurrency. The CDB database has .vpasswd.lock files when updating the password files.You probably don't have to