Dear Gustaf!

Unfortunately I didn't see your answer below and found it a few days ago at Sourceforge in the mailinglist history.

I deactivated the nscgi module, which we only use for awstats output. This did not change the behaviour. So I checked all calls to Ns_GetTemp(void) and found a possible culprit in NsWriterQueue(...).

I  changed the following parameters:

ns_writer streaming nssock false; # was true
ns_writer size nssock [expr 15*1024*1024]; # was 15000

The number of open files has been stable since.

Yours,

Wolfgang


--------------------

From: Gustaf Neumann <neumann@wu...> - 2019-07-22 12:35:27

Dear Wolfgang,

we do not see any growth in this area, below are statistics
from two different sites.

monthly graph


These files are from Ns_GetTemp() which maintains a pool of tmp files,
which are released via Ns_ReleaseTemp(). This pool is maintained like
this since many years.

One of the consumers of Ns_GetTemp() is nscgi. Are you using this module
on the site experiences the growing number?

-g


Am 22.07.19 um 10:22 schrieb Wolfgang Winkler:

Dear all,

out naviserver instance opens a lot of files. It used to be constant 200 open files, now the number ist constantly growing, from 110 after a server restart to > 1000.

What we see with "lsof -n" are a lot of files in tmp, e.g. /tmp/nstmp.1563598239.865582 that obivously never get closed.

We updated from 4.99.17 to 4.99.18 but the problem persists.

Does anybody have an idea what could cause this behaviour? We checked all our changes to the system and could not find the cause.

Regards,

Wolfgang Winkler

--

*Wolfgang Winkler*
Geschäftsführung
wolfgang.wink...@digital-concepts.com
mobil +43.699.19971172

dc:*büro*
digital concepts Novak Winkler OG
Software & Design
Landstraße 68, 5. Stock, 4020 Linz
www.digital-concepts.com <http://www.digital-concepts.com>
tel +43.732.997117.72
tel +43.699.1997117.2

Firmenbuchnummer: 192003h
Firmenbuchgericht: Landesgericht Linz




_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel


--

*Wolfgang Winkler*
Geschäftsführung
wolfgang.wink...@digital-concepts.com
mobil +43.699.19971172

dc:*büro*
digital concepts Novak Winkler OG
Software & Design
Landstraße 68, 5. Stock, 4020 Linz
www.digital-concepts.com <http://www.digital-concepts.com>
tel +43.732.997117.72
tel +43.699.1997117.2

Firmenbuchnummer: 192003h
Firmenbuchgericht: Landesgericht Linz


_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel

Reply via email to