Skip to content

Ftp module creates excessive amount of threads #6

@ghost

Description

Hello,

I'm using this ftp module for a client of ours.

First I ran some tests WITHOUT the ftp module. So I clicked all sorts of functions in the application which are NOT related to any ftp connection. I see that memory usage of the application is stable, only fluctuering 50mb in a couple of minutes. Also the amount of threads is stable, around 150. This is expected behavior.

Then I use a function in the application that uses the ftp module. I click a button in Mendix that downloads a file from a remote server. I see that the memory usage of the application increases directly with 200mb in just a couple of seconds. The threads are increasing to more than 350. This worries me big time. Until the application crashes.

I have attached my measurements and screenshots of the crash in the attachment.

So my assumption is that the ftp module creates an excessive amount of threads that it crashes. This explains the strange behavior on the testserver that suddenly freezes after using the ftp module.

Does anyone else have the same problems?

Nick

visualvm 1 4 1
mendix logging

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions