Giter Club home page Giter Club logo

Comments (8)

Hackwar avatar Hackwar commented on May 25, 2024 1

To Reproduce
I have no idea.

If you spend enough time to care about this, could you spend the time to also compile it and run it locally with a profiling tool like Redgate ANTS Profiler?

I don't have the toolchain to do that and no, I don't care enough to invest days into learning all the ins and outs of this project. Similarly how you don't give a f--k about my FOSS project.

it regularly created spikes in the CPU usage

What did you do to measure this? What was the duration of the spike?

it continously read ~20MB/s of data from my SSD

How did you determine the reads came from Papercut and not from, say, your antivirus/antimalware service?

So, I've been having issues with my notebook for the last 2 years. The fan is constantly spinning on high rpm, the whole system gets very hot. I replaced the fan 2 times and got the whole mainboard, heatpipes and fan replaced under warranty recently. I keep my notebook in a very well ventilated position and regularly clean the cooler. I checked my whole software stack, from UEFI BIOS over Windows, drivers and all my other tools, like IDE and Windows Defender. None of this made a real difference. Then I killed the Papercut process and all of a sudden my problems were solved. I invested way to much time into this already. I had the courtesy of reporting this issue and that's it. I learned from this, that I'm not going to leave Papercut running in the background and I couldn't care less how qualified you think my report is.

from papercut-smtp.

Jaben avatar Jaben commented on May 25, 2024 1

I think this may have been fixed by PR #266

from papercut-smtp.

jzabroski avatar jzabroski commented on May 25, 2024

To Reproduce
I have no idea.

If you spend enough time to care about this, could you spend the time to also compile it and run it locally with a profiling tool like Redgate ANTS Profiler? Note, I am not a contributor on this project, I am always just stunned when professional software developers complain about performance but offer absolutely nothing substantive in their performance complaints, but want other software developers to investigate heresy performance issues. The thermal construction of your notebook is irrelevant here. Bring data.

it regularly created spikes in the CPU usage

What did you do to measure this? What was the duration of the spike?

it continously read ~20MB/s of data from my SSD

How did you determine the reads came from Papercut and not from, say, your antivirus/antimalware service?

You may want to pick up a copy of The Every Computer Performance Book to get started learning about computer performance so that you can contribute more useful information. Windows Task Manager is not a great source of information to report performance problems unless it's a very stark problem like "CPU stays pegged at 100% for 2 minutes".

from papercut-smtp.

jonsa avatar jonsa commented on May 25, 2024

If you spend enough time to care about this, could you spend the time to also compile it and run it locally with a profiling tool like Redgate ANTS Profiler?

I am always just stunned how some people think, just because it's second nature to them, that every one else should be able to do it. I mean it's obvious that every professional software developer should know every language and toolchain to compile, run and debug code they have no familiarity with [/sarcasm].

To add some actual feedback to original topic, albeit being two screenshots from Windows Task Manager. I too have similar issues with Papercut using more and more system resources as time passes without reboot. Currently it's using about half my idle CPU.

image

After a restart it utilizes practically nothing.

image

Personally it doesn't really bother me since I just restart the software regularly.

from papercut-smtp.

jzabroski avatar jzabroski commented on May 25, 2024

Initial thought was, looking at your screenshot, to search Google for "webview2 memory leak". Found this: MicrosoftEdge/WebView2Feedback#1633 (comment)

It's very possible that webview2 isn't the culprit, BTW. But that would be where to look first. https://www.nuget.org/packages/Microsoft.Web.WebView2/1.0.1462.37 is ten months old.

See, even your sharing that screenshot was way more helpful than "I have no idea". By the way, I did explain a helpful resource to learning about performance troubleshooting - and it definitely isn't second nature to me. But this is a free project. It seems obvious to me users should have etiquette to be helpful as possible in reporting bugs and steer clear of anecdotes. I'm sorry you disagree. 🤷

from papercut-smtp.

jzabroski avatar jzabroski commented on May 25, 2024

So, I've been having issues with my notebook for the last 2 years.

...you did not even mention what version of Papercut you have installed. What good does it do if you are on a version of Papercut that is 2 or more years old and are reporting a bug with it without upgrading? This is etiquette for an open source project. Connect the dots and read the link I posted - there was a bug in WebView2 that is likely causing your problem, not papercut. If you really think you are being helpful, you are not - because others will see your post and think Papercut has quality assurance problems. So posting stuff without any data, screenshots, or any way to reproduce is just gossip. Hope you can begin to see that it's not very constructive. We (open source contributors) donate our free time. I cant even tell you how many hours I have wasted of my life because someone said my FREE software had performance issues/memory leaks. So, yes, be WAY more considerate.

from papercut-smtp.

Payn avatar Payn commented on May 25, 2024

Initial thought was, looking at your screenshot, to search Google for "webview2 memory leak". Found this: MicrosoftEdge/WebView2Feedback#1633 (comment)

It's very possible that webview2 isn't the culprit, BTW. But that would be where to look first. https://www.nuget.org/packages/Microsoft.Web.WebView2/1.0.1462.37 is ten months old.

See, even your sharing that screenshot was way more helpful than "I have no idea". By the way, I did explain a helpful resource to learning about performance troubleshooting - and it definitely isn't second nature to me. But this is a free project. It seems obvious to me users should have etiquette to be helpful as possible in reporting bugs and steer clear of anecdotes. I'm sorry you disagree. 🤷

Seems like a memory leak indeed. Related: #241

from papercut-smtp.

victorromeo avatar victorromeo commented on May 25, 2024

Papercut.smtp version 6.2.0.0 on Windows Server 2019
image

I just don't understand how these WebView2 processes consume so much CPU. I agree with the assumption of a memory leak, but the cause eludes me. The smtp service can hang occassionally, and I have to kill the process, to get it going again. Typically the locking issue happens after several days of use however, so diagnostic debugging isn't great at this point.

from papercut-smtp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.