-
Notifications
You must be signed in to change notification settings - Fork 121
Open
Description
An earlier version of River5 seemed to have a memory leak: after running for months, the amount of free RAM dwindled, and the computer got slow. Stopping River5 (with Ctl-C) freed up the RAM, and the computer was much snappier. Starting River5 again (npm start) worked as expected. I'm not reporting a memory leak against an obsolete version...
But... this made me wonder if I was up to date. And I wasn't (I was using River5 v0.4.14). So I updated and had these observations with a git pull from 0c2804e on macOS 10.13.6:
- The startup line shows
river5@0.5.15, but later on, the log showsRiver5 v0.5.9 running on port 1337.This is confusing. - It would help with diagnostics if the startup information also displayed the date/time, and possibly the version of Node (I was using 5.3.0, which may also have been part of the memory leak problem.)
Thanks!
richb$ npm start
> river5@0.5.15 start /Users/richb/github/river5
> node river5.js
{
"enabled": true,
"httpPort": 1337,
"flHttpEnabled": true,
"webSocketPort": 1338,
"flWebSocketEnabled": true,
"dataFolder": "data/",
"listsFolder": "lists/",
"riversFolder": "rivers/",
"podcastsFolder": "podcasts/",
"localStoragePath": "localStorage.json",
"statsFilePath": "serverStats.json",
"templatePath": "misc/template.html",
"addToRiverCallbacksFolder": "callbacks/addToRiver/",
"buildRiverCallbacksFolder": "callbacks/buildRiver/",
"riverDataFileName": "riverData.json",
"listInfoFileName": "listInfo.json",
"flAddItemsFromNewSubs": true,
"maxRiverItems": 300,
"maxBodyLength": 280,
"flSkipDuplicateTitles": true,
"flRequestCloudNotify": true,
"flMaintainCalendarStructure": false,
"flWriteItemsToFiles": false,
"ctMinutesBetwBuilds": 15,
"maxConcurrentFileWrites": 100,
"flWatchAppDateChange": false,
"fnameApp": "lib/feedtools.js",
"urlServerHomePageSource": "https://s3.amazonaws.com/scripting.com/code/river5/serverhomepage.html",
"urlDashboardSource": "https://s3.amazonaws.com/scripting.com/code/river5/dashboard.html",
"urlFeedViewerApp": "https://cdn.jsdelivr.net/npm/river5/includes/feedviewer/index.html",
"urlFavicon": "https://cdn.jsdelivr.net/npm/river5/includes/misc/favicon.ico",
"flIntegratedFeedViewer": true,
"flBuildEveryFiveSeconds": false,
"flDownloadPodcasts": false,
"maxFileNameLength": 32,
"maxConcurrentPodcastDownloads": 10,
"flSaveFeedRivers": true,
"httpUserAgent": "River5 v0.5.9",
"homePage": {
"panels": [
{
"title": "Main",
"river": "myOpmlFeeds.js"
},
{
"title": "NYT",
"river": "nyt.js"
},
{
"title": "Hacker News",
"river": "hn.js"
}
]
}
}
River5 v0.5.9 running on port 1337.
startWebSocketServer: websockets port is 1338
River5 v0.5.9: 8:27:00 AM, 203 feeds, 0 reads, 0 stories, 0 open sockets, port: 1337.
...
Metadata
Metadata
Assignees
Labels
No labels