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

ValueError: current limit exceeds maximum limit #24

Open
eternalbluei opened this issue Mar 7, 2023 · 6 comments
Open

ValueError: current limit exceeds maximum limit #24

eternalbluei opened this issue Mar 7, 2023 · 6 comments

Comments

@eternalbluei
Copy link

(aura)  blue@BluedeMacBook-Pro  ~/Downloads/aura-dev  aura scan /Users/blue/Documents/Malicious/dataset/pypi_unzip/raw-tool/2.0.1/raw_tool-2.0.1/setup.py
Traceback (most recent call last):
  File "/Users/blue/opt/anaconda3/envs/aura/bin/aura", line 5, in <module>
    from aura.cli import main
  File "/Users/blue/opt/anaconda3/envs/aura/lib/python3.10/site-packages/aura/cli.py", line 16, in <module>
    from . import commands
  File "/Users/blue/opt/anaconda3/envs/aura/lib/python3.10/site-packages/aura/commands.py", line 16, in <module>
    from .package_analyzer import Analyzer
  File "/Users/blue/opt/anaconda3/envs/aura/lib/python3.10/site-packages/aura/package_analyzer.py", line 13, in <module>
    from . import utils
  File "/Users/blue/opt/anaconda3/envs/aura/lib/python3.10/site-packages/aura/utils.py", line 21, in <module>
    from . import config
  File "/Users/blue/opt/anaconda3/envs/aura/lib/python3.10/site-packages/aura/config.py", line 310, in <module>
    load_config()
  File "/Users/blue/opt/anaconda3/envs/aura/lib/python3.10/site-packages/aura/config.py", line 240, in load_config
    resource.setrlimit(resource.RLIMIT_RSS, (rss, rss))
ValueError: current limit exceeds maximum limit

Why? How to deal with the error?

@zrk233
Copy link

zrk233 commented Mar 27, 2023

Hello, I am an undergraduate student. Your code (WAF) has been referenced in the graduation design, but the code has been reporting errors. May I contact you personally, either qq or WeChat

@lxyeternal
Copy link

WAF code can normal run. In 2021, a girl used waf code as the graduation design. My development environment is MacOS. My wechat account is lxy_limerence.

@RootLUG
Copy link
Contributor

RootLUG commented Mar 27, 2023

Hello,
for the error I would suggest disabling the RSS in the yaml config, some MacOS version behaves incorrectly for this or have wrong defaults. The RSS in general is not needed and it is used as a safety mechanism as sometimes if the code is very complex it can consume a lot of memory or when running in a server for automated code processing.

The option to disable the RSS is called rlimit-memory in the config

I do not have Wechat neither qq but if you want to contact me personally then I would suggest email: [email protected]

@lxyeternal
Copy link

Thanks, I resolve the issue successfully.

@zrk233
Copy link

zrk233 commented Mar 29, 2023

WAF代码可以正常运行。2021年,一个女孩用waf代码作为毕业设计。我的开发环境是 MacOS。我的微信账号lxy_limerence。

Excuse me, I have already contacted you on WeChat. Please apply through a friend

@zrk233
Copy link

zrk233 commented Mar 30, 2023 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

4 participants