Giter Site home page Giter Site logo

Comments (5)

mtinberg avatar mtinberg commented on July 28, 2024

Another thought I had, which I haven't made a test case for yet, that might explain why the issue doesn't seem randomly distributed amongst processes on the host, is that it might be triggered by a process with CWD of / (which may look empty?), I'll have to check to see if the relevant processes do set their CWD to / in case this is a factor

from ampfsm.

antchan2 avatar antchan2 commented on July 28, 2024

Hi @mtinberg. Thanks for reporting the issue.

The “fileop_new: kmem_cache_alloc(path_name) failed” error indicates a memory allocation failure. There can be a variety of reasons for memory pressure on the system, and it is normal that in a sensitive area of kernel code such as this (i.e., which must run to completion and cannot sleep) that memory allocation can sometimes fail. ampfsm is designed to handle this gracefully by skipping its processing of the current file operation but continue onwards so when memory pressure is relieved, processing returns to normal.

I noticed you are running kernel version 3.10.0-1160.71.1.0.1.el7.x86_64. I understand this is a recent update for Oracle Linux 7. What Linux distribution are you running? Did this problem appear or become more frequent after a recent kernel or software upgrade?

In my investigation so far I did not find a defect in ampfsm but found opportunities to make memory allocation more efficient. This includes requesting smaller sized memory blocks and freeing those blocks sooner. While speculative, those improvements could help reduce the occurrences of this error.

Lastly, if you are using ampfsm because you are a Cisco customer, don't hesitate to contact Technical Assistance Center and open a case. That provides a way to provide more direct help.

from ampfsm.

mtinberg avatar mtinberg commented on July 28, 2024

from ampfsm.

mtinberg avatar mtinberg commented on July 28, 2024

contact Technical Assistance Center and open a case.

SR 694170620 : Issue with ampfsm

A TAC case has now been opened, there was a delay due to staff vacations and handoff of this issue on our end.

I'll have to check to see if the relevant processes do set their CWD to / in case this is a factor

systemd pid 1 and the scraper processes that seemed to be most commonly affected by this do set CWD to / but so do most other processes so I'm not sure that differentiates anything.

from ampfsm.

antchan2 avatar antchan2 commented on July 28, 2024

Fixed in 62a5dae (Optimize memory allocation to reduce chance of allocation failures).

from ampfsm.

Related Issues (4)

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.