1) I can't reproduce this. How are you measuring threads on the server?
2) You should have Mongo instance per jvm. It has internal connection
pooling, so you don't need to create and disconnect on every request.
-Eliot
> --
> You received this message because you are subscribed to the Google Groups "mongodb-user" group.
> To post to this group, send email to mongod...@googlegroups.com.
> To unsubscribe from this group, send email to mongodb-user...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/mongodb-user?hl=en.
>
>
| MongoDB Support | enabled |
|---|---|
| Version | 1.0.7 |
| Directive | Local Value | Master Value |
|---|---|---|
| mongo.allow_persistent | On | On |
| mongo.auto_reconnect | On | On |
| mongo.chunk_size | 262144 | 262144 |
| mongo.cmd | $ | $ |
| mongo.default_host | localhost | localhost |
| mongo.default_port | 27017 | 27017 |
| mongo.utf8 | 1 | 1 |
PHP Version 5.2.10-2ubuntu6.4 |
| System | Linux juanb-desktop 2.6.31-21-generic #59-Ubuntu SMP Wed Mar 24 07:28:56 UTC 2010 i686 |
| Build Date | Jan 6 2010 22:15:47 |
| Server API | Apache 2.0 Handler |
| Virtual Directory Support | disabled |
| Configuration File (php.ini) Path | /etc/php5/apache2 |
| Loaded Configuration File | /etc/php5/apache2/php.ini |
| Scan this dir for additional .ini files | /etc/php5/apache2/conf.d |
| additional .ini files parsed | /etc/php5/apache2/conf.d/adodb.ini, /etc/php5/apache2/conf.d/curl.ini, /etc/php5/apache2/conf.d/gd.ini, /etc/php5/apache2/conf.d/mongo.ini, /etc/php5/apache2/conf.d/mysql.ini, /etc/php5/apache2/conf.d/mysqli.ini, /etc/php5/apache2/conf.d/pdo.ini, /etc/php5/apache2/conf.d/pdo_mysql.ini, /etc/php5/apache2/conf.d/xdebug.ini, /etc/php5/apache2/conf.d/xmlrpc.ini |
| PHP API | 20041225 |
| PHP Extension | 20060613 |
| Zend Extension | 220060519 |
| Debug Build | no |
| Thread Safety | disabled |
| Zend Memory Manager | enabled |
| IPv6 Support | enabled |
| Registered PHP Streams | https, ftps, compress.zlib, compress.bzip2, php, file, data, http, ftp, zip |
| Registered Stream Socket Transports | tcp, udp, unix, udg, ssl, sslv3, sslv2, tls |
| Registered Stream Filters | zlib.*, bzip2.*, convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed |
| This
server is protected with the Suhosin Patch 0.9.7 Copyright (c) 2006 Hardened-PHP Project |
Just fixed http://jira.mongodb.org/browse/JAVA-124