You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Fred Moore (JIRA)" <ji...@apache.org> on 2009/01/14 17:58:01 UTC

[jira] Updated: (FTPSERVER-264) It takes about 1 minute and 100% CPU to set a "wide" the passive port range (org.apache.ftpserver.DefaultDataConnectionConfiguration$Passive.SetPorts())

     [ https://issues.apache.org/jira/browse/FTPSERVER-264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fred Moore updated FTPSERVER-264:
---------------------------------

    Description: 
We observed a long (about 1 minute) plateau of 100% CPU when trying to setPorts() in org.apache.ftpserver.DefaultDataConnectionConfiguration$Passive with "wide" port ranges such as 2122-65535.

We observed that FTPServer internally performs an apparently very expensive scan on this range.

Can this be made less CPU intensive and quicker (to shorten server downtime and reduce resource consumption in production)?

  was:
We observed a long (about 1 minute) plateau of 100% CPU when trying to setPorts() in org.apache.ftpserver.DefaultDataConnectionConfiguration$Passive with "wide" port ranges such as 2122-65535.

We observed that FTPServer internally performs an apparently very expensive scan on this range.

Can this be made less CPU intensive and quicker (to shorten server downtime in production)?


> It takes about 1 minute and 100% CPU to set a "wide" the passive port range (org.apache.ftpserver.DefaultDataConnectionConfiguration$Passive.SetPorts())
> --------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: FTPSERVER-264
>                 URL: https://issues.apache.org/jira/browse/FTPSERVER-264
>             Project: FtpServer
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 1.0.0-M2
>         Environment: Windows
>            Reporter: Fred Moore
>
> We observed a long (about 1 minute) plateau of 100% CPU when trying to setPorts() in org.apache.ftpserver.DefaultDataConnectionConfiguration$Passive with "wide" port ranges such as 2122-65535.
> We observed that FTPServer internally performs an apparently very expensive scan on this range.
> Can this be made less CPU intensive and quicker (to shorten server downtime and reduce resource consumption in production)?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.