Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

River5 version confusion #31

Open
richb-hanover opened this issue Oct 3, 2019 · 0 comments
Open

River5 version confusion #31

richb-hanover opened this issue Oct 3, 2019 · 0 comments

Comments

@richb-hanover
Copy link

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:

  1. The startup line shows [email protected], but later on, the log shows River5 v0.5.9 running on port 1337. This is confusing.
  2. 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

> [email protected] 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.
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant