q4 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
john51_ has joined #pypy
nimaje1 has joined #pypy
nimaje has quit [Killed (wilhelm.freenode.net (Nickname regained by services))]
hawkowl has quit [Excess Flood]
irclogs_io_bot has quit [Remote host closed the connection]
hawkowl has joined #pypy
_zware has joined #pypy
jcea1 has joined #pypy
Cheery_ has joined #pypy
jneen_ has joined #pypy
ec\ has joined #pypy
Cheery has quit [Write error: Broken pipe]
iko_ has joined #pypy
irclogs_io_bot has joined #pypy
fryguybob has joined #pypy
dw_ has joined #pypy
tote_ has joined #pypy
froztbyt1 has joined #pypy
marmoute_ has joined #pypy
john51 has quit [Write error: Broken pipe]
dw has quit [Remote host closed the connection]
Knio_ has joined #pypy
fryguybo1 has quit [Remote host closed the connection]
[Arfrever] has quit [Remote host closed the connection]
jacob22 has joined #pypy
tito_ has joined #pypy
dash_ has joined #pypy
[Arfreve1] has joined #pypy
WGH_ has joined #pypy
riddle has quit [Disconnected by services]
pjenvey_ has joined #pypy
bogner_ has joined #pypy
kbtr has joined #pypy
jerith_ has joined #pypy
nopf_ has joined #pypy
topi`_ has joined #pypy
o11c^ has joined #pypy
riddle has joined #pypy
tito has quit [Quit: No Ping reply in 180 seconds.]
Knio has quit [Remote host closed the connection]
jcea has quit [Remote host closed the connection]
ec\_ has quit [Remote host closed the connection]
kbtr_ has quit [Remote host closed the connection]
jcea1 is now known as jcea
lazybear has quit [Excess Flood]
panni_ has quit [Remote host closed the connection]
pjenvey has quit [Write error: Broken pipe]
froztbyte has quit [Write error: Broken pipe]
dstufft has quit [Excess Flood]
Rotonen has quit [Remote host closed the connection]
dstufft has joined #pypy
lazybear_ has joined #pypy
jneen has quit [Write error: Broken pipe]
_habnabit has quit [Excess Flood]
marmoute has quit [Remote host closed the connection]
jerith has quit [Remote host closed the connection]
gutworth has quit [Remote host closed the connection]
dash has quit [Remote host closed the connection]
topi` has quit [Write error: Broken pipe]
zware has quit [Remote host closed the connection]
WGH has quit [Remote host closed the connection]
panni_ has joined #pypy
jacob22_ has quit [Write error: Broken pipe]
marky1991 has quit [Remote host closed the connection]
glyph has quit [Excess Flood]
nopf has quit [Write error: Broken pipe]
tote has quit [Remote host closed the connection]
carljm has quit [Remote host closed the connection]
glyph has joined #pypy
_habnabit has joined #pypy
o11c has quit [Remote host closed the connection]
bogner has quit [Remote host closed the connection]
lazybear_ is now known as lazybear
iko has quit [Remote host closed the connection]
john51_ has quit [Read error: Connection reset by peer]
chris| has quit [*.net *.split]
shodan45 has quit [*.net *.split]
domenkozar has quit [*.net *.split]
mwhudson has quit [*.net *.split]
shodan45 has joined #pypy
mwhudson has joined #pypy
mwhudson has joined #pypy
mwhudson has quit [Changing host]
Rotonen has joined #pypy
gutworth has joined #pypy
marr has quit [Ping timeout: 260 seconds]
chris| has joined #pypy
egregius313 has quit [Remote host closed the connection]
carljm has joined #pypy
dustinm- has quit [Quit: Leaving]
john51 has joined #pypy
7JTABFHYX has joined #pypy
7JTABFHYX has quit [Max SendQ exceeded]
dustinm has joined #pypy
tos9 has quit [Ping timeout: 260 seconds]
tos9 has joined #pypy
Taggnostr has quit [Remote host closed the connection]
rokujyouhitoma has joined #pypy
domenkozar has joined #pypy
rokujyouhitoma has quit [Ping timeout: 260 seconds]
egregius313 has joined #pypy
tbodt has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
marvin_ has quit [Ping timeout: 255 seconds]
marvin_ has joined #pypy
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 260 seconds]
marvin_ has quit [Ping timeout: 268 seconds]
oberstet has quit [Ping timeout: 260 seconds]
egregius313 has quit [Remote host closed the connection]
gutworth has quit [Ping timeout: 255 seconds]
gutworth has joined #pypy
egregius313 has joined #pypy
rokujyouhitoma has joined #pypy
rokujyouhitoma has quit [Ping timeout: 268 seconds]
tbodt has joined #pypy
tbodt has quit [Client Quit]
dw_ is now known as dw
_zware is now known as zware
marvin has joined #pypy
marvin is now known as Guest52110
jcea has quit [Quit: jcea]
dash_ is now known as dash
rokujyouhitoma has joined #pypy
Guest52110 has quit [Ping timeout: 255 seconds]
rokujyouhitoma has quit [Ping timeout: 268 seconds]
pilne has quit [Quit: Quitting!]
ArneBab_ has joined #pypy
marky1991 has joined #pypy
marvin_ has joined #pypy
ArneBab has quit [Ping timeout: 240 seconds]
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 268 seconds]
egregius313 has quit [Remote host closed the connection]
rokujyouhitoma has joined #pypy
rokujyouhitoma has quit [Ping timeout: 258 seconds]
_whitelogger has joined #pypy
egregius313 has joined #pypy
egregius313 has quit [Ping timeout: 260 seconds]
rokujyouhitoma has joined #pypy
rokujyouhitoma has quit [Ping timeout: 268 seconds]
rokujyouhitoma has joined #pypy
rokujyouhitoma has quit [Ping timeout: 276 seconds]
amaury has joined #pypy
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 240 seconds]
egregius313 has joined #pypy
egregius313 has quit [Ping timeout: 258 seconds]
vkirilichev has joined #pypy
rokujyouhitoma has joined #pypy
rokujyouhitoma has quit [Ping timeout: 240 seconds]
<LarstiQ> don't know how relevant http://seclists.org/oss-sec/2017/q2/500 is to #pypy, but our good friend libffi shows up again, CVE-2017-1000376
LarstiQ has quit [Quit: ZNC - http://znc.in]
[Arfreve1] has quit [Quit: leaving]
amaury has quit [Ping timeout: 260 seconds]
jamesaxl has joined #pypy
tilgovi has joined #pypy
[Arfrever] has joined #pypy
adamholmberg has joined #pypy
realitix has joined #pypy
realitix has quit [Client Quit]
adamholmberg has quit [Ping timeout: 260 seconds]
realitix has joined #pypy
rokujyouhitoma has joined #pypy
vkirilichev has quit []
oberstet has joined #pypy
rokujyouhitoma has quit [Ping timeout: 258 seconds]
vkirilichev has joined #pypy
ArneBab has joined #pypy
ArneBab_ has quit [Ping timeout: 255 seconds]
ArneBab_ has joined #pypy
ArneBab has quit [Ping timeout: 240 seconds]
zware has quit [Quit: No Ping reply in 180 seconds.]
zware has joined #pypy
vkirilic_ has joined #pypy
vkirilichev has quit [Read error: Connection reset by peer]
kenaan has quit [Ping timeout: 268 seconds]
tilgovi has quit [Ping timeout: 246 seconds]
tilgovi has joined #pypy
oberstet has quit [Ping timeout: 255 seconds]
marr has joined #pypy
cstratak has joined #pypy
cstratak has quit [Remote host closed the connection]
cstratak has joined #pypy
tilgovi has quit [Ping timeout: 246 seconds]
antocuni has joined #pypy
rokujyouhitoma has joined #pypy
Taggnostr has joined #pypy
rokujyouhitoma has quit [Ping timeout: 260 seconds]
oberstet has joined #pypy
q4 has joined #pypy
arigato has joined #pypy
egregius313 has joined #pypy
egregius313 has quit [Ping timeout: 258 seconds]
q4 has quit [Ping timeout: 240 seconds]
amaury has joined #pypy
rokujyouhitoma has joined #pypy
lritter has joined #pypy
squeaky_pl has joined #pypy
rokujyouhitoma has quit [Ping timeout: 258 seconds]
amaury has quit [Ping timeout: 240 seconds]
nimaje1 has joined #pypy
nimaje1 is now known as nimaje
nimaje is now known as Guest59211
antocuni has quit [Ping timeout: 255 seconds]
Cheery_ is now known as Cheery
Cheery has quit [Quit: leaving]
Cheery has joined #pypy
vkirilic_ has quit [Remote host closed the connection]
vkirilichev has joined #pypy
adamholmberg has joined #pypy
Cheery has quit [Quit: leaving]
Cheery has joined #pypy
Cheery has quit [Client Quit]
Cheery has joined #pypy
chelz has quit [Ping timeout: 268 seconds]
oberstet has quit [Ping timeout: 255 seconds]
vkirilichev has quit [Ping timeout: 258 seconds]
adamholmberg has quit [Ping timeout: 260 seconds]
chelz has joined #pypy
ninjaaron has left #pypy ["WeeChat 1.4"]
oberstet has joined #pypy
rokujyouhitoma has joined #pypy
rokujyouhitoma has quit [Ping timeout: 246 seconds]
arigo has joined #pypy
<arigo> help with pip
<arigo> pip install hg+https://bitbucket.org/cffi/cffi
<arigo> it does not copy the file "cffi/_cffi_errors.h", but it does copy the file "cffi/_cffi_include.h"
<arigo> why????????
<arigo> "python setup.py sdist" for example produces a tarball containing both files
amaury has joined #pypy
<arigo> uh, thanks, looks like it
<gabriel-m> you are welcome!
kenaan_ has joined #pypy
<kenaan_> arigo cffi/cffi f06010593f74 /setup.py: List _cffi_errors.h here (oops, thanks gabriel-m)
<arigo> yes, that's it. thanks a lot!
<gabriel-m> I'm glad I could help :)
<gabriel-m> arigo, do you have any idea why I get this: ImportError: unable to load extension module '/work/pypy/site-packages/wx/_core.pypy-41.so': /work/pypy/site-packages/wx/_core.pypy-41.so: undefined symbol: PyExc_ValueError
<gabriel-m> I installed wxpython-phoenix
<gabriel-m> and when I try to import wx I get that
amaury has quit [Ping timeout: 255 seconds]
<cfbolz> gabriel-m: what's your pypy version?
<gabriel-m> 5.8.0
amaury has joined #pypy
<cfbolz> sure? because the "pypy-41.so" is a bit suspicious, no?
<cfbolz> PyExc_ValueError exists in current pypy :P
<cfbolz> strange
<cfbolz> gabriel-m: how did you build wx?
<gabriel-m> pypy -m pip install --upgrade --pre -f https://wxpython.org/Phoenix/snapshot-builds/ wxPython
<gabriel-m> but you first need: apt install libwebkit-dev on ubuntu
<cfbolz> I can try
<gabriel-m> and a lot of patience
<gabriel-m> I had like 50kb/s avg speed :(
<gabriel-m> they have a very slow connection..
jcea has joined #pypy
altendky has quit [Ping timeout: 240 seconds]
irclogs_io_bot has quit [Remote host closed the connection]
altendky has joined #pypy
irclogs_io_bot has joined #pypy
rokujyouhitoma has joined #pypy
rokujyouhitoma has quit [Ping timeout: 255 seconds]
arigato has quit [Ping timeout: 258 seconds]
<arigo> gabriel-m: sorry, missed what you said
<arigo> "PyExc_ValueError" is a symbol that shouldn't be needed
<arigo> it should be called "PyPyExc_ValueError"
<arigo> do you get a compilation warning mentioning PyExc_ValueError? e.g. if the name is used in a file where "#include <Python.h>" is missing, you'd get a warning but it would work on CPython
vkirilichev has joined #pypy
amaury has quit [Ping timeout: 255 seconds]
egregius313 has joined #pypy
jerith_ is now known as jerith
<gabriel-m> I get this
<arigo> no, I'm talking about compilation
<arigo> when you installed it
antocuni has joined #pypy
<gabriel-m> nope
<gabriel-m> that is the output of pypy -m pip install --upgrade --pre -f https://wxpython.org/Phoenix/snapshot-builds/ wxPython
egregius313 has quit [Remote host closed the connection]
<cfbolz> gabriel-m: can you scroll up when you installed it the first time? It should have built it then
<cfbolz> (I can't reproduce it, the build errors for me and I am out of time today
<cfbolz> )
<gabriel-m> you can see the output in that pastebin up in this chat
<cfbolz> ok, but I am not seeing calls to gcc or similar in any of the outputs
<gabriel-m> yup, the install process is very silent
<cfbolz> that's super suspicious
<gabriel-m> you get gcc calls if it fails
<cfbolz> and warnings are just swallowed?
<gabriel-m> yes
<cfbolz> then I fear you'd need to run setup.py manually so we can take a look
<gabriel-m> ok, I will try that way
jamesaxl has quit [Read error: Connection reset by peer]
jamesaxl has joined #pypy
amaury has joined #pypy
<gabriel-m> what I am looking for when I install wxpython?
<gabriel-m> now I get every gcc call :D
<gabriel-m> a few warning from time to time
<cfbolz> gabriel-m: just paste the whole thing, then we ask arigo to stare at it ;-)
<gabriel-m> omg
<gabriel-m> I think The I will do the process again and redirect the output toa file
<cfbolz> heh, right
<gabriel-m> there are too many lines
egregius313 has joined #pypy
egregius313 has quit [Remote host closed the connection]
rokujyouhitoma has joined #pypy
vkirilichev has quit [Remote host closed the connection]
<antocuni> cfbolz, gabriel-m: I think that you get the .pypy-41.so extension because 4.1 it's the ABI version
vkirilichev has joined #pypy
<antocuni> i.e., it didn't change since pypy 4.1; not sure if it's correct or not, though
egregius313 has joined #pypy
<cfbolz> I suppose not (we have added a ton new features since then, no?)
<antocuni> yes, likely
<antocuni> I don't really know what are the requisites for being compatible
rokujyouhitoma has quit [Ping timeout: 260 seconds]
vkirilichev has quit [Read error: Connection reset by peer]
vkirilichev has joined #pypy
arigato has joined #pypy
<antocuni> arigato: about cffi's package_data: you might be interested also in trying "include_package_data=True"; which, despite the name, does something different: in particular, it automatically includes all files tracked by hg/git
<ionelmc> antocuni: it includes everything in the MANIFEST.in
<ionelmc> for tracked files if you use something like setuptools_scm i guess
<antocuni> ah ok
<antocuni> I indeed do use setuptools_scm, but its docs does not mention anything about package data
<antocuni> so I assumed it was a setuptools feature
<ronny> antocuni: include_package_data is unrelated to file listers ^^ manifest.in is used as fallback
<ronny> file listers list files for a sdist, package_data and include_package_data are intended for wheels, eggs and tradtional installs
<antocuni> but how can you include them in the wheels if they are not in the sdist?
<ronny> not
<ronny> manifest.in or file listers put stuff into the sdist
<arigato> I suppose there's a deep and mysterious reason for why there are several ways to list files
<ronny> package_data/include_pacakge_data put things into bdists
<antocuni> ronny: ok, got it (I think)
<ronny> arigato: there is simply a setuptools entrypoint to register file listers, and manifest.in is the fallback
<ronny> setuptools_scm includes file listers for the supported scms
<antocuni> ronny: oh, I see now in the setuptools README: "It also handles file finders for the supported scm's."
<antocuni> I must say that this info is not particularly prominent: yesterday I looked at the README to check whether setuptools_scm handles only the version or more and I concluded it was "only the version"
<antocuni> that sentence is a bit obscure if you don't know what is a file lister :)
<ronny> antocuni: yes, i#ll log an issue about documenting it comprehensible without prior knowledge
<antocuni> I can open the issue on github, if you like
<antocuni> thanks
<ronny> man, intestine infects really take one down
<ronny> i#ll be afk again
egregius313 has quit [Remote host closed the connection]
<dstufft> there are two concerns, what files get added to the sdist, and what files get installed. Typically you need files to be listed both places because if it's not added to the sdist, it can't then be installed later, but sometimes you want to add a file without installing it (doc files for instance)
<dstufft> MANIFEST.in and setuptools_scm etc control what files get added to the sdist
amaury has quit [Ping timeout: 240 seconds]
<antocuni> dstufft: thanks, now it's clearer :)
<dstufft> (package_data, py_modules, package, data_files, include_package_data are all about controlling what files get installed)
egregius313 has joined #pypy
jamescampbell has joined #pypy
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 260 seconds]
Rhy0lite has joined #pypy
egregius313 has quit [Remote host closed the connection]
<gabriel-m> cfbolz: here is the output of installation of wxpython https://we.tl/Q5rNqvhBTp
rokujyouhitoma has joined #pypy
rokujyouhitoma has quit [Ping timeout: 240 seconds]
adamholmberg has joined #pypy
Ryanar has joined #pypy
mattip has joined #pypy
realitix has quit [Quit: Leaving]
<antocuni> gabriel-m: I don't see anything enlightening in the logs
<antocuni> ah now wait
<antocuni> maybe I found it
<antocuni> I see this line: "Checking for program /usr/bin/pypy-config,python2.7-config,python-config-2.7,python2.7m-config : /usr/bin/python2.7-config"
<antocuni> which means that the build tool is looking for something like "pypy-config" but it doesn't find it
<antocuni> and then it finds python2.7-config and assumes it is fine to use it... which is wrong
<antocuni> so I bet that what happens is that the "#include <Python.h>" find the *CPython* header, not the pypy one
<antocuni> I don't think that pypy provides a pypy-config tool... maybe we should
<antocuni> you can also try to sketch one by yourself: put a script called /usr/bin/pypy-config, make sure that the build uses it, and try to return reasonable values
girish946 has joined #pypy
* arigato tries to use cffi for embedding for real on Windows
<squeaky_pl> antocuni, there is a branch about pypy-config https://bitbucket.org/pypy/pypy/branch/pypy-config
<antocuni> ah cool, I didn't know
<arigato> I'm getting RuntimeError: recursion depth exceeded after getting a number of errors, so I *think* something is wrong (e.g. the recursion counter is not balanced)
<antocuni> although for gabriel-m uses cases it's probably easier to write something ad-hoc
<squeaky_pl> Yeah definitely, python-config has python-config [--prefix|--exec-prefix|--includes|--libs|--cflags|--ldflags|--extension-suffix|--help|--abiflags|--configdir]
larstiq_ has joined #pypy
<arigato> ah bah
<arigato> ok: the problem is, I invoke some C function, and that function indirectly causes a setjmp() that interrupts everything including my Python frames in the middle
egregius313 has joined #pypy
adamholmberg has quit [Remote host closed the connection]
rokujyouhitoma has joined #pypy
rokujyouhitoma has quit [Ping timeout: 276 seconds]
Ryanar has quit [Quit: Ryanar]
Ryanar has joined #pypy
tilgovi has joined #pypy
egregius313 has quit [Remote host closed the connection]
egregius313 has joined #pypy
egregius313 has quit [Ping timeout: 240 seconds]
<mjacob> arigato: i didn't really progress with the lto debug information issue because i wasn't able to produce a binary that contained debug symbols for some reason
<mjacob> arigato: i.e. with -flto -g seems to be ignored
<mjacob> arigato: did you have the same problem?
tilgovi has quit [Ping timeout: 276 seconds]
<arigato> no
<arigato> did you really specify -g to both the compiling and linking steps?
<mjacob> at first i forgot it on the linking step, but then i added it, cleaned the object files and tried again
<mjacob> however the resulting binary was only a little bit larger and didn't have all debug symbols
<mjacob> gcc loaded it in a few seconds
<arigato> no clue
<mjacob> i will certainly try it again with a fresh mind in the next days
<mjacob> when i need a break from learning for exams ;)
<mjacob> mhh, that's a contradiction
jneen_ is now known as jneen
tilgovi has joined #pypy
rokujyouhitoma has joined #pypy
cstratak has quit [Quit: Leaving]
girish946 has quit [Quit: Leaving]
antocuni has quit [Ping timeout: 255 seconds]
rokujyouhitoma has quit [Ping timeout: 240 seconds]
jamescam_ has joined #pypy
jamescampbell has quit [Ping timeout: 240 seconds]
jamescampbell has joined #pypy
jamescampbell has quit [Read error: Connection reset by peer]
jamescam_ has quit [Ping timeout: 240 seconds]
vkirilichev has quit [Remote host closed the connection]
vkirilichev has joined #pypy
vkirilichev has quit [Ping timeout: 240 seconds]
yuyichao has joined #pypy
yuyichao has quit [Quit: Konversation terminated!]
tilgovi has quit [Ping timeout: 240 seconds]
yuyichao has joined #pypy
tilgovi has joined #pypy
arigo has quit [Quit: Leaving]
tilgovi has quit [Ping timeout: 246 seconds]
marr123 has joined #pypy
marr has quit [Ping timeout: 258 seconds]
marr123 is now known as marr
lazka has joined #pypy
pilne has joined #pypy
oberstet has quit [Read error: Connection reset by peer]
<lazka> hey, I've recently tried building pypy under MSYS2 for fun, but have given up for now. If someone is interested here is what I have: https://github.com/lazka/msys2-pypy-test
arigato has quit [Quit: Leaving]
lazka has quit [Quit: Leaving]
rokujyouhitoma has joined #pypy
<squeaky_pl> dstufft, how is warehouse doing on PyPy, did the latency numbers go down?
girish946 has joined #pypy
girishj has joined #pypy
girishj has quit [Read error: Connection reset by peer]
rokujyouhitoma has quit [Ping timeout: 268 seconds]
<dstufft> squeaky_pl: looks like it's elevated, but I think it's not very indicative ATM. The memory is growing past 1GB in size, which it's currently running on a Heroku 1GB Dyno
froztbyt1 is now known as froztbyte
<dstufft> unfortunately going beyond a 1GB dyno gets real expensive, like 3x more
oberstet has joined #pypy
girish946 has quit [Quit: Leaving]
rmesta has joined #pypy
rmesta has left #pypy [#pypy]
squeaky_pl has quit [Read error: Connection reset by peer]
rokujyouhitoma has joined #pypy
rokujyouhitoma has quit [Ping timeout: 268 seconds]
<benbangert> dstufft: we see memory leaks as well, still adding more debugging to try and determine why
<dstufft> benbangert: dunno if mine is a leak or just PyPy using a bunch of ram
<Alex_Gaynor> benbangert: was going to offer my assistance, then I remembered pjenvey_ is lareayd on your team :-)
<dstufft> soon we'll hopefully move off of Heroku onto a place where we can get more ram easily
<benbangert> Alex_Gaynor: yea, pjenvey_ added more detailed tracking, but if there's more we're missing that could shed insight, that'd be great. especially since we started seeing larger and faster leak after switching to using cryptography for our VAPID auth (the PR you saw awhile back)
<benbangert> we had 4 deploys with relatively slow leakage, then after deploying a release that switched to cryptography it went a bit nuts, https://www.dropbox.com/s/txzfe3vtvx4zdvg/Screenshot%20from%202017-06-12%2016%5E%2530%5E%2534.png?dl=0
<Alex_Gaynor> benbangert: my immediate instinct is that your problem is memory allocated external to the gc (e.g. when we let openssl malloc crap) not contributing to GC pressure which means it's not running as frequently as it should.
<Alex_Gaynor> Basically all of the mmeory that OpenSSL allocates via cryptography is freed with ffi.gc(), so only free'd when the GC runs.
<Alex_Gaynor> Now what would be the best way to test that... stick a `gc.collect()` in an itimer callback and see if it helps I guess
jamescampbell has joined #pypy
<pjenvey_> I still need to narrow down exactly where the memory allocations are, but some initial runs suggest it's just the GC
<pjenvey_> if that's correct (even if it's not) one thing pypy could benefit from is extended debug statistics about the GCs underlying memory usage
<Alex_Gaynor> pjenvey_: gc.dump_rpy_heap() (might not be the right name) can be used to do this FWIW.
<pjenvey_> dump_rpy_heap reports on all known objects and their sizes and totals
<Alex_Gaynor> Right, you can sort of manually compare this with RSS.
<pjenvey_> however the GC allocates in larger chunks: arenas/pages, you basically want dump_arena_info
Ryanar has quit [Quit: Ryanar]
<pjenvey_> Alex_Gaynor: situation I have currently is dump_rpy_heap size dramatically smaller than RSS
<Alex_Gaynor> pjenvey_: That'd be expected if it's memory allocated external to the gc, e.g. by openssl
<Alex_Gaynor> I'm not really sure what the right way to fix this would be. Maybe there's some hook we could replace OpenSSL's malloc with ffi.new() or something that the GC knows about, but I'm loath to do that, since it puts us in an awkward place if we're sharing the OpenSSL .so with someone else
<pjenvey_> and what looks like (somewhat conjecture here) potentially large arenas lying around (from pmaps info) larger than dump_rpy_heap sizes
<pjenvey_> so I'm somewhat doubting its openssl, but I'm not ruling it out yet
<Alex_Gaynor> pjenvey_: just going to leave this here: https://blog.nelhage.com/2013/03/tracking-an-eventmachine-leak/ :-)
jamescampbell has quit [Remote host closed the connection]
rokujyouhitoma has joined #pypy
black_ant has joined #pypy
rokujyouhitoma has quit [Ping timeout: 260 seconds]
kipras`away is now known as kipras
vkirilichev has joined #pypy
<benbangert> Alex_Gaynor: I was wondering what else could be built into PyPy to facilitate tracking and reporting. ie, how to make up the gap between information one can get about GC/object/memory-usage in pypy vs. the JVM
<Alex_Gaynor> pjenvey_: so testing with this, the symtoms I see is that with `gc.collect()` the max resident memory is like 50% of without it, both seem to stablize, not leak indefeinitely. feels like this confirms my hypothesis https://www.irccloud.com/pastebin/XjoVLGhy/t.py
<Alex_Gaynor> benbangert: Easier on the JVM, since there's basically no external allocations, which appear to be the issue here :-/ Not sure, will have to think.
jamescampbell has joined #pypy
jamesaxl has quit [Ping timeout: 255 seconds]
<pjenvey_> the memory I'm seeing could certainly be from malloc vs GC's
<pjenvey_> Alex_Gaynor: what version of pypy is that
<Alex_Gaynor> pjenvey_: 5.8.0
<Alex_Gaynor> 2.7
<pjenvey_> 5.7 started adding memory pressure for each cffi alloc
egregius313 has joined #pypy
<Alex_Gaynor> pjenvey_: these aren't cffi allocs though, they're OPENSSL_malloc allocs
jamesaxl has joined #pypy
<Alex_Gaynor> we call, say, X509_new() and then the malloc itself happens inside OpenSSL
<pjenvey_> Alex_Gaynor: aaah
<pjenvey_> cryptography needs to add memory pressure then
<pjenvey_> like everywhere
<Alex_Gaynor> That does not feel like a tractable solution; though I can probably hack up a prototype easily that'd make it work :-/
Ryanar has joined #pypy
<Alex_Gaynor> let me do the hack and see if it works
<pjenvey_> it's a bit horrible but you're responsible for those allocations so..
<pjenvey_> I dunno if cffi could really help here
pjenvey_ is now known as pjenvey
<Alex_Gaynor> pjenvey: hack appears to work; installs custom malloc into OpenSSL which adds memory pressure. That gibberish has to be run very first thing on process start, before anyone else imports cryptography, hashlib, or ssl. https://www.irccloud.com/pastebin/FXmZ6Ucn/t.py
<pjenvey> Alex_Gaynor: maybe you want ffi.new_allocator ?
<pjenvey> Alex_Gaynor: oh boy, awesome
<Alex_Gaynor> pjenvey: do I? what can I do with ffi.new_allocator
<Alex_Gaynor> pjenvey: want to move to #cryptography-dev to involve other crypto devs?
jamescampbell has quit [Remote host closed the connection]
amaury has joined #pypy
antocuni has joined #pypy
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 255 seconds]
rokujyouhitoma has joined #pypy
jamescampbell has joined #pypy
rokujyouhitoma has quit [Ping timeout: 240 seconds]
vkirilichev has quit [Remote host closed the connection]
marr has quit [Ping timeout: 260 seconds]
amaury has quit [Ping timeout: 276 seconds]
amaury_ has joined #pypy
Ryanar has quit [Quit: Ryanar]
marr has joined #pypy
Rhy0lite has quit [Quit: Leaving]
egregius313 has quit [Remote host closed the connection]
egregius313 has joined #pypy
jamescampbell has quit [Remote host closed the connection]
jamescampbell has joined #pypy
egregius313 has quit [Ping timeout: 268 seconds]
jamescampbell has quit [Ping timeout: 260 seconds]
jamescampbell has joined #pypy
lritter has quit [Remote host closed the connection]
vkirilichev has joined #pypy
vkirilichev has quit [Remote host closed the connection]
jamescampbell has quit [Remote host closed the connection]
rmesta has joined #pypy
rokujyouhitoma has joined #pypy
rmesta has quit [Client Quit]
rmesta has joined #pypy
rmesta has quit [Client Quit]
rmesta has joined #pypy
rmesta has quit [Client Quit]
rmesta has joined #pypy
rmesta has quit [Client Quit]
rmesta has joined #pypy
rmesta has quit [Client Quit]
rmesta has joined #pypy
rmesta has quit [Client Quit]
rokujyouhitoma has quit [Ping timeout: 240 seconds]
mattip has left #pypy ["bye"]
egregius313 has joined #pypy
egregius_ has joined #pypy
egregius313 has quit [Read error: Connection reset by peer]
yuyichao_ has joined #pypy
egregius_ has quit [Remote host closed the connection]
egregius313 has joined #pypy
yuyichao has quit [Ping timeout: 240 seconds]
egregius313 has quit [Ping timeout: 246 seconds]
oberstet has quit [Ping timeout: 240 seconds]
oberstet has joined #pypy
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 246 seconds]
zware has quit [Remote host closed the connection]
rokujyouhitoma has joined #pypy
zware has joined #pypy
rokujyouhitoma has quit [Ping timeout: 260 seconds]
Ryanar has joined #pypy
jcea1 has joined #pypy
jcea has quit [Read error: Connection reset by peer]
jcea1 is now known as jcea
marky1991 has quit [Ping timeout: 255 seconds]
lazybear has quit [Excess Flood]
[0__0] has quit [Remote host closed the connection]
john51 has quit [Write error: Broken pipe]
hodge has joined #pypy
nopf has joined #pypy
yuyichao_ has quit [Ping timeout: 564 seconds]
kbtr has quit [Write error: Broken pipe]
yuyichao has joined #pypy
lazybear has joined #pypy
tumbleweed has quit [Write error: Broken pipe]
nopf_ has quit [Write error: Broken pipe]
dstufft has quit [Excess Flood]
hawkowl has quit [Excess Flood]
Hodgestar has quit [Quit: No Ping reply in 180 seconds.]
tumbleweed has joined #pypy
tumbleweed has joined #pypy
dstufft has joined #pypy
john51 has joined #pypy
hawkowl has joined #pypy
[0__0] has joined #pypy
kbtr has joined #pypy
egregius313 has joined #pypy
egregius313 has quit [Ping timeout: 246 seconds]
amaury_ has quit [Ping timeout: 240 seconds]
marky1991 has joined #pypy
Ryanar has quit [Quit: Ryanar]
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 260 seconds]
kipras is now known as kipras`away
rokujyouhitoma has joined #pypy
rokujyouhitoma has quit [Ping timeout: 246 seconds]
jiffe has quit [Quit: WeeChat 1.8]
jiffe has joined #pypy
jamesaxl has quit [Ping timeout: 255 seconds]
amaury_ has joined #pypy
egregius313 has joined #pypy
egregius313 has quit [Ping timeout: 255 seconds]
rmesta has joined #pypy
amaury_ has quit [Ping timeout: 240 seconds]
amaury_ has joined #pypy
rokujyouhitoma has joined #pypy
antocuni has quit [Ping timeout: 240 seconds]
hodge is now known as Hodgestar
rokujyouhitoma has quit [Ping timeout: 255 seconds]