Dear Wolfgang,
thanks for the report. i could reconstruct the issue (the only one?),
which can happen when writerstreaming is turned on (default is off)
in the config file. The issue is fixed by [1]
I do not see an issue with the "ns_writer size". However, while at the
issue, i added change [2] to support use of memory units instead of
plain integers.
for the size. One can use now e.g.
ns_writer size nssock 150KB
Do you see still some leak in your configuration with this changes
(in other words: is for you the high "ns_writer size" necessary?
all the best
-g
[1]
https://bitbucket.org/naviserver/naviserver/commits/e5a66b0d9184e88d59d01f4d435827e73b470fe5
[2]
https://bitbucket.org/naviserver/naviserver/commits/5176741d8d1e468de9e8830f2e5d8553eb9c0b9c
On 28.10.19 09:17, Wolfgang Winkler wrote:
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
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel