<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:53:45 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[SERVER-331] Unexpected MongoConnectionException</title>
                <link>https://jira.mongodb.org/browse/SERVER-331</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;on 451 connect mongo say Exception&lt;/p&gt;

&lt;p&gt;20:53: Fatal error: Uncaught exception &apos;MongoConnectionException&apos; with message &apos;127.0.0.1:3412&apos; in /var/www/vhosts/pirates/script/MyMongo.php:16&lt;br/&gt;
Stack trace:&lt;br/&gt;
#0 /var/www/vhosts/pirates/script/MyMongo.php(16): Mongo-&amp;gt;__construct(&apos;127.0.0.1:3412&apos;)&lt;br/&gt;
#1 /var/www/vhosts/pirates/script/MyMongo.php(23): Main_Service_Mongo-&amp;gt;getConnection()&lt;br/&gt;
#2 /var/www/vhosts/pirates/script/mongoIdBag.php(62): Main_Service_Mongo-&amp;gt;getCollection(&apos;test&apos;)&lt;br/&gt;
#3 &lt;/p&gt;
{main}
&lt;p&gt;  thrown in /var/www/vhosts/pirates/script/MyMongo.php on line &lt;/p&gt;</description>
                <environment>centos 5.3, php 5.3</environment>
        <key id="10685">SERVER-331</key>
            <summary>Unexpected MongoConnectionException</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="3">Duplicate</resolution>
                                        <assignee username="kristina">Kristina Chodorow</assignee>
                                    <reporter username="ipetrov">Ivan Petrov</reporter>
                        <labels>
                    </labels>
                <created>Thu, 1 Oct 2009 14:52:53 +0000</created>
                <updated>Sat, 17 Oct 2009 08:07:50 +0000</updated>
                            <resolved>Fri, 2 Oct 2009 16:43:29 +0000</resolved>
                                    <version>1.0.1</version>
                                                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="10838" author="eliot" created="Fri, 2 Oct 2009 16:43:29 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-332&quot; title=&quot;use async network layer&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-332&quot;&gt;&lt;del&gt;SERVER-332&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="10837" author="kristina" created="Fri, 2 Oct 2009 16:40:02 +0000"  >&lt;p&gt;Which makes this... Eliot&apos;s problem!  Moving to Core Server.&lt;/p&gt;</comment>
                            <comment id="10836" author="ipetrov" created="Fri, 2 Oct 2009 16:09:17 +0000"  >&lt;p&gt;I think best way is make MongoDB used epoll for linux and kqueue for bsd&lt;/p&gt;</comment>
                            <comment id="10835" author="ipetrov" created="Fri, 2 Oct 2009 16:08:23 +0000"  >&lt;p&gt;no &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/sad.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt; design of application is contain prefork apache. MongoDB use now old noneffective methods of using sockets:&lt;br/&gt;
while ( 1 ) accept();&lt;br/&gt;
We can create new abstract level for getting connections from apache with epoll mechanism and forward it to mongod with persistent connect, but it not way of true Jedi. &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/sad.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="10833" author="kristina" created="Fri, 2 Oct 2009 15:56:35 +0000"  >&lt;p&gt;Can you use persistent connections?  If you change line 17 of MyMongo.php to:&lt;/p&gt;

&lt;p&gt; $this-&amp;gt;connection = new Mongo(self::MONGO_CONNECTIONS, true, true);&lt;/p&gt;

&lt;p&gt;it reuses connections, instead of opening new ones.&lt;/p&gt;</comment>
                            <comment id="10830" author="ipetrov" created="Fri, 2 Oct 2009 07:46:05 +0000"  >&lt;p&gt;It is a problem of mongod service, It cant work without errors with more then 200-2000 connect()-s per second.&lt;/p&gt;

&lt;p&gt;Im tested server with sockTest.php&lt;/p&gt;</comment>
                            <comment id="10829" author="ipetrov" created="Thu, 1 Oct 2009 17:49:06 +0000"  >&lt;p&gt;Found that is not a problem of php driver, looks like a problem with OS call connect(). &lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="10064" name="MyMongo.php" size="601" author="ipetrov" created="Thu, 1 Oct 2009 14:52:53 +0000"/>
                            <attachment id="10063" name="mongoIdBag.php" size="1816" author="ipetrov" created="Thu, 1 Oct 2009 14:52:53 +0000"/>
                            <attachment id="10065" name="mongod-verbose.txt" size="73991" author="ipetrov" created="Thu, 1 Oct 2009 14:52:53 +0000"/>
                            <attachment id="10066" name="sockTest.php" size="758" author="ipetrov" created="Fri, 2 Oct 2009 07:48:38 +0000"/>
                            <attachment id="10067" name="sockTest.php.log" size="944" author="ipetrov" created="Fri, 2 Oct 2009 07:49:40 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>7.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 2 Oct 2009 15:56:35 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        14 years, 20 weeks, 5 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>ian@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            14 years, 20 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>ipetrov</customfieldvalue>
            <customfieldvalue>kristina</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrpvpb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrivs7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>23802</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|ht0l2f:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>