Current time: 04-26-2024, 05:29 AM Hello There, Guest! (LoginRegister)


Post Reply 
Error 500
Author Message
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #31
RE: Error 500
So you think that the following step from my previous example is not problematic, right?
Code:
6. rqst-mngr launches mbox-mngr, who tries to add mails for both "domain1.tld" (no problem) _and_ "domain2.tld" (which has not been created yet). Thereafter, bad things _may_ happen.
(This post was last modified: 08-29-2009 09:53 PM by kilburn.)
08-29-2009 09:51 PM
Visit this user's website Find all posts by this user Quote this message in a reply
sci2tech Away
Senior Member
****

Posts: 1,285
Joined: Jan 2007
Reputation: 23
Post: #32
RE: Error 500
The email to postfix/courier will be added before domain will be added in bind configure file. This will not be a problem as long as domain will be added immediately (some "query was empty" or some error in gui, not critical). But problem will be generated by htaccess*-mgr witch will try to write files in inexistent folders. This can be corrected in rqst-mngr modifying to perform this actions only for domains that have ok status (I refer to mail/subdomain/alias/htaccess actions).
(This post was last modified: 08-29-2009 11:28 PM by sci2tech.)
08-29-2009 11:28 PM
Visit this user's website Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #33
RE: Error 500
Quote:But problem will be generated by htaccess*-mgr witch will try to write files in inexistent folders. This can be corrected in rqst-mngr modifying to perform this actions only for domains that have ok status (I refer to mail/subdomain/alias/htaccess actions).

Now you got my point Wink I suspect there may be other issues like the one you pointed out, so the safest bet if we want to release trunk as stable is simply properly locking the gui too. This will yield worse performance, but at least we will make sure that we don't have to deal with nasty hard-to-find race condition bugs.

Maybe on future versions we can improve the backend scripts and remove the big giant lock (bsd anyone? Wink). I'll implement it ok?
08-30-2009 03:28 AM
Visit this user's website Find all posts by this user Quote this message in a reply
sci2tech Away
Senior Member
****

Posts: 1,285
Joined: Jan 2007
Reputation: 23
Post: #34
RE: Error 500
Indeed I understand what you point to Smile . Well, when we will start to code a new verision some proper planning will be needed.
08-30-2009 03:50 AM
Visit this user's website Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #35
RE: Error 500
(Properly) fixed in r1952. I've been able to remove most of the gui lock calls, see the commit message for further details.
08-30-2009 06:53 PM
Visit this user's website Find all posts by this user Quote this message in a reply
sci2tech Away
Senior Member
****

Posts: 1,285
Joined: Jan 2007
Reputation: 23
Post: #36
RE: Error 500
I`ll test it today, after I finish update procedure Smile Nice work Wink
08-30-2009 06:56 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)