Mysql Sessions..
Mysql Sessions..
Hie,
look at this copy from phpmyadmin...
is this number of processes of hmailserver normal ??
thanks
Termina 66 hmailserver localhost:1194 hmailserver Sleep 1044 --- ---
Termina 67 hmailserver localhost:1201 hmailserver Sleep 1020 --- ---
Termina 68 hmailserver localhost:1202 hmailserver Sleep 1015 --- ---
<~50 lines removed for easier reading>
look at this copy from phpmyadmin...
is this number of processes of hmailserver normal ??
thanks
Termina 66 hmailserver localhost:1194 hmailserver Sleep 1044 --- ---
Termina 67 hmailserver localhost:1201 hmailserver Sleep 1020 --- ---
Termina 68 hmailserver localhost:1202 hmailserver Sleep 1015 --- ---
<~50 lines removed for easier reading>
That PHP version contains a serious COM bug that "should" make it impossible to use COM such as the hMailServer objects with it. The bug will be fixed in 4.3.11 (or whatever next version will be named)
http://www.hmailserver.com/forum/viewtopic.php?t=1086
Are you really sure you are using 4.3.10? The PHPWebAdmin interface shouldn't work whatsoever with that version. :\
http://www.hmailserver.com/forum/viewtopic.php?t=1086
Are you really sure you are using 4.3.10? The PHPWebAdmin interface shouldn't work whatsoever with that version. :\
is i'm sure...martin wrote:That PHP version contains a serious COM bug that "should" make it impossible to use COM such as the hMailServer objects with it. The bug will be fixed in 4.3.11 (or whatever next version will be named)
http://www.hmailserver.com/forum/viewtopic.php?t=1086
Are you really sure you are using 4.3.10? The PHPWebAdmin interface shouldn't work whatsoever with that version. :\
and it works fine, is only that problem...
thanks
Well, it's not _only_ that problem. You reported another hMailServer/PHP problem in another thread as well just an hour ago. 
I'm not going to put any work into solving this. If you're using PHP 4.3.10, you're on your own. The PHP-bug has been confirmed by the PHP developers and they agree that it's critical. I'm not saying that I'm 100% sure that the next PHP version will solve the problem. But the chances are good..

I'm not going to put any work into solving this. If you're using PHP 4.3.10, you're on your own. The PHP-bug has been confirmed by the PHP developers and they agree that it's critical. I'm not saying that I'm 100% sure that the next PHP version will solve the problem. But the chances are good..
martin, i have updated the php to the 5.0.3 version and the problem continue... now i think is very important because is causing my mysql server very busy after 15min in use of PHPWebAdmin, the PHPWebAdmin is genereating too many connetions!!!
#1040 - Too many connections --> this is the message of phpmyadmin
Fatal error: Uncaught exception 'com_exception' with message 'Source: hMailServer COM library
Description: MySQL: Too many connections' in C:\www\webfolder\layersys.com\mailadmin\mhwainit.php:75 Stack trace: #0 C:\www\webfolder\layersys.com\mailadmin\mhwainit.php(75): com->Connect() #1 C:\www\webfolder\layersys.com\mailadmin\index.php(36): require_once('C:\www\webfolde...') #2 {main} thrown in C:\www\webfolder\layersys.com\mailadmin\mhwainit.php on line 75
This is the error of PHPWebAdmin...
i'm using apache 2.0.52 and mysql 4.0.23
Help me
PS: every click i do in phpwebadmin, one session is created in mysql server...
#1040 - Too many connections --> this is the message of phpmyadmin
Fatal error: Uncaught exception 'com_exception' with message 'Source: hMailServer COM library
Description: MySQL: Too many connections' in C:\www\webfolder\layersys.com\mailadmin\mhwainit.php:75 Stack trace: #0 C:\www\webfolder\layersys.com\mailadmin\mhwainit.php(75): com->Connect() #1 C:\www\webfolder\layersys.com\mailadmin\index.php(36): require_once('C:\www\webfolde...') #2 {main} thrown in C:\www\webfolder\layersys.com\mailadmin\mhwainit.php on line 75
This is the error of PHPWebAdmin...
i'm using apache 2.0.52 and mysql 4.0.23
Help me

PS: every click i do in phpwebadmin, one session is created in mysql server...
http://www.hmailserver.com/download/hMa ... ild-72.exe
If it still does not work, turn on debug logging, visit the webpage, leave the webpage and post the log here.
If it still does not work, turn on debug logging, visit the webpage, leave the webpage and post the log here.
Martin, loging of hmailserver?martin wrote:http://www.hmailserver.com/download/hMa ... ild-72.exe
If it still does not work, turn on debug logging, visit the webpage, leave the webpage and post the log here.
"But did the upgrade to the latest build solve the problem or is PHPWebAdmin still not disconnecting from MySQL?"
yes i have upgraded but the problem is not solved.

yes i have upgraded but the problem is not solved.
yes the debug is ON but i don't have any entry!Have you turned on debug-logging in hMailAdmin? PHPWebAdmin should log to the hMailServer log directory if you turn on debug logging.


http://www.hmailserver.com/download/hMa ... ild-72.exe
Try to install that and see if it solves your problem. I've added some more disconnects. Apparantly, Apache reuses the same COM object all the time instead of creating new when a new page is loaded. I have done some changes that hopefully solves it for you now.
Try to install that and see if it solves your problem. I've added some more disconnects. Apparantly, Apache reuses the same COM object all the time instead of creating new when a new page is loaded. I have done some changes that hopefully solves it for you now.
IT WORKSmartin wrote:http://www.hmailserver.com/download/hMa ... ild-72.exe
Try to install that and see if it solves your problem. I've added some more disconnects. Apparantly, Apache reuses the same COM object all the time instead of creating new when a new page is loaded. I have done some changes that hopefully solves it for you now.

thanks
