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

Hangs on boot when loading alongside sys-ftpd #9

Closed
fennectech opened this issue Jan 22, 2019 · 5 comments
Closed

Hangs on boot when loading alongside sys-ftpd #9

fennectech opened this issue Jan 22, 2019 · 5 comments

Comments

@fennectech
Copy link
Contributor

The tool hangs when loading alongside sys-ftpd.

@friedkeenan
Copy link
Collaborator

The reason for this is that the sysmodules run out of memory. After the Switch's normal sysmodules are loaded, there's around 24 MiB left. sys-ftpd allocates 5.25 MiB for its heap (its stack is negligible), which, when combined with the memory needed for the sysmodules needed for CFW (fsmitm takes 16 MiB), does not leave much for any other sysmodules (nxsh uses 2.5 MiB). I think ReiNX might use less memory than atmosphere's sysmodules, so that might be why I was able to load nxsh alongside sys-ftpd.

While compatibility with sys-ftpd would be nice, I wouldn't say it's a big priority. I did try to fine-tune nxsh's heap, so I'm not sure how much else could be done.

@fennectech
Copy link
Contributor Author

fennectech commented Jan 23, 2019 via email

@friedkeenan
Copy link
Collaborator

I think that would extend outside the scope of nxsh. You can always use the ftpd NRO or NX-Shell for FTP while also having the kip, or you could have sys-ftpd with the nxsh NRO; you wouldn't be able to do FTP+NXSH during a game, but I'm not sure why you would need that

@friedkeenan
Copy link
Collaborator

Now that both sys-ftpd and nxsh are in the PM-loading format, they seem to work just fine together, so I'm gonna close this

@fennectech
Copy link
Contributor Author

fennectech commented May 2, 2019 via email

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

2 participants