Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    SmartGWTEE server - "Too many open files"

    Hello,

    We are using smartGWTEE version on Weblogic 6, running on Linux CentOS 64bit.

    From time to time, the server gets stuck, and the logs say "too many open files". We already increased the max number to 4096.
    Apparently, the server code keeps a lot of files open. Some of them are the images of the skin ("menuBckg.gif" etc), some of them are the DataSources XML files.

    Is there a reason they're kept open?
    We do not use our own IDACall.
    The custom server code is only our own DataSources which inherit from SQLDataSource. some operations they do themselves, but for some we call the super's execute.

    Thanks

    #2
    We close any files streamed by the FileDownload servlet unconditionally in a finally {} block, and we don't have any reports of an issue like this. If you're seeing such files as open handles, probably WebLogic has a bug on CentOS - try WebLogic support.

    Comment


      #3
      Were you able to find the cause of your problem?

      Originally posted by u4ibm
      Hello,

      We are using smartGWTEE version on Weblogic 6, running on Linux CentOS 64bit.

      From time to time, the server gets stuck, and the logs say "too many open files". We already increased the max number to 4096.
      Apparently, the server code keeps a lot of files open. Some of them are the images of the skin ("menuBckg.gif" etc), some of them are the DataSources XML files.

      Is there a reason they're kept open?
      We do not use our own IDACall.
      The custom server code is only our own DataSources which inherit from SQLDataSource. some operations they do themselves, but for some we call the super's execute.

      Thanks

      Comment


        #4
        no, but we found a way to fix it.

        You need to configure the server to allow accessing files.

        Comment

        Working...
        X