Monday, 2018-04-09

ara-slack<dmsimard> @logan.attwood can you give a try installing from master and let me know if the memory looks better ?00:03
ara-slack<dmsimard> i.e, pip install git+https://github.com/openstack/ara00:04
openstackgerritDavid Moreau Simard proposed openstack/ara master: Add support for configuring sqlalchemy pool size, timeout and recycle  https://review.openstack.org/55960902:09
openstackgerritDavid Moreau Simard proposed openstack/ara master: Add support for configuring sqlalchemy pool size, timeout and recycle  https://review.openstack.org/52442702:10
dmsimardA late shower thought: there's probably nothing stopping us from doing like the sqlite middleware but with mysql/postgresql instead02:55
dmsimardFor example... a role that creates a database on a mysql server just for that run.02:56
dmsimardSo each playbook run would end up being it's own database ? That would make it easy to shard I guess ?02:56
dmsimardhttps://github.com/openstack-infra/puppet-openstackci/blob/7a4e625ca157fc9480574f439d7463356f4692e3/templates/logs-dev.vhost.erb#L66-L9102:58
dmsimardlookups would stay fast because there's no enormous amount of rows to scan02:58
dmsimardThere might be a lot of databases though ? I've never ran a server with a LOT of databases -- fewer but larger. Does that work ?02:59
mnaseri feel like that is "yet another component i would have to maintain"03:00
dmsimardara could take care of it03:01
dmsimardbut I mean it wouldn't be required03:01
dmsimardshard_databases = true03:01
dmsimardor shard_reports = true03:01
dmsimardit's a scalability and performance thing03:02
mnaseri think it depends on the use case03:02
mnaseri think i'm viewing it from the zuul/ci side of things03:02
dmsimardzuul already has a mysql server03:02
dmsimardeh03:02
mnaserprobably not enough to handle 1000+ databases a day03:03
mnaser:p03:03
dmsimardwell03:03
dmsimardit's not like they are big databases ?03:03
mnaseri'd feel it's still a significant amount of hit on that server, i think.  especially i guess with all the output that some jobs can generate03:03
dmsimardI dunno. Like I wonder what would happen if we created like 20 000 databases every day03:03
dmsimardmaybe mysql is not the right thing03:03
dmsimardI wanna say mongodb but meh03:03
mnaseri think like03:04
mnaserrendering static json files simulating the api maybe :p03:04
dmsimardlol03:04
dmsimardit's a nice hack03:04
dmsimardthere are so many hacks in the frontend because I can't do frontend03:05
mnaseri think that would be a cool idea and would take off a huge load and avoid using sqlite, i mean the api is pretty static03:05
dmsimardthe file system tree ? dude that was hard03:05
mnaserwhatever that api response generates is always the same03:05
dmsimard?03:05
dmsimardI don't follow03:05
dmsimardoh btw, when I meant multiple databases -- it's just not really different than how you'd have different sqlite databases03:21
dmsimardoh, the sqlite middleware should put something in the header to show where it's from.04:46
dmsimardespecially since the database can be downloaded.04:46
*** gvincent has joined #ara05:26
*** jparrill has joined #ara05:40
*** rvgate has joined #ara09:12
*** jrm_ has joined #ara09:26
*** sshnaidm|off is now known as sshnaidm09:30
jrm_hey, was there a resolution to: UndefinedError: 'macros' is undefined ?09:56
*** rvgate has quit IRC10:31
dmsimardjrm_: I loo11:37
dmsimardjrm_: looked but didn't remember where I saw that11:37
dmsimardWhat's your version of Ansible ?11:38
dmsimardAnd jinja ?11:38
dmsimardjrm_: oh wait, you were trying to get it working with AWX right ? I got that working the other day: https://mobile.twitter.com/ARA_Community/status/98235541089096089711:41
dmsimardThere seems to be a bug that makes this harder to set up than it should be though: https://github.com/ansible/awx/issues/173711:42
*** rvgate has joined #ara12:06
*** hwoarang has joined #ara12:12
jrm_yup, that was me. So it's not so much an ARA thing as it is something terrible that happens in AWX?12:21
jrm_it was AWX 1.0.5 and Jinja was 2.812:22
dmsimardjrm_: re: your macros issue: https://github.com/openstack/ara/commit/49d1702f3a5b6522bf0f97a3fd953b671b4bec8112:54
*** hwoarang has quit IRC12:57
*** hwoarang has joined #ara12:57
*** tbielawa has joined #ara12:59
*** tbielawa has quit IRC13:07
*** tbielawa has joined #ara13:10
*** bcoca has joined #ara13:15
*** bcoca has joined #ara13:15
*** hwoarang has quit IRC13:35
*** tbielawa is now known as tbielawa|brb14:04
jrm_dmsimard: that seems to fix. Ubuntu 16.04LTS only has python-jinja2.8 in the official repos though.14:10
dmsimardyeah 2.9 dates back to january 2017, it's been out for a while but I guess distros might not have caught up yet14:12
ara-slack<logan.attwood> ack14:12
ara-slack<dmsimard> Thanks! Let me know how that goes14:14
*** jrm_ has quit IRC14:16
*** tbielawa|brb is now known as tbielawa14:16
ara-slack<logan.attwood> lots of errors :(14:27
ara-slack<dmsimard> uh oh14:27
ara-slack<logan.attwood> ``` ara_1  | Traceback (most recent call last): ara_1  |   File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1997, in __call__ ara_1  |     return self.wsgi_app(environ, start_response) ara_1  |   File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1985, in wsgi_app ara_1  |     response = self.handle_exception(e) ara_1  |   File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1540, in14:27
ara-slackhandle_exception ara_1  |     reraise(exc_type, exc_value, tb) ara_1  |   File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1982, in wsgi_app ara_1  |     response = self.full_dispatch_request() ara_1  |   File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1614, in full_dispatch_request ara_1  |     rv = self.handle_user_exception(e) ara_1  |   File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1517, in14:27
ara-slackhandle_user_exception ara_1  |     reraise(exc_type, exc_value, tb) ara_1  |   File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1612, in full_dispatch_request                                                                           ara_1  |     rv = self.dispatch_request() ara_1  |   File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1598, in dispatch_request ara_1  |     return14:27
ara-slackself.view_functions[rule.endpoint](**req.view_args) ara_1  |   File "/usr/local/lib/python2.7/dist-packages/ara/views/reports.py", line 121, in ajax_plays ara_1  |     if not utils.fast_count(plays): ara_1  |   File "/usr/local/lib/python2.7/dist-packages/ara/utils.py", line 106, in fast_count ara_1  |     count = query.session.execute(count_query).scalar() ara_1  |   File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 1176, i14:27
ara-slackexecute ara_1  |     bind, close_with_result=True).execute(clause, params or {}) ara_1  |   File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 948, in execute ara_1  |     return meth(self, multiparams, params) ara_1  |   File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/sql/elements.py", line 269, in _execute_on_connection ara_1  |     return connection._execute_clauseelement(self, multiparams, params) ara_1  |   File14:27
ara-slack"/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1060, in _execute_clauseelement ara_1  |     compiled_sql, distilled_params ara_1  |   File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1200, in _execute_context ara_1  |     context) ara_1  |   File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1413, in _handle_dbapi_exception ara_1  |     exc_info ara_1  |   File14:27
ara-slack"/usr/local/lib/python2.7/dist-packages/sqlalchemy/util/compat.py", line 203, in raise_from_cause ara_1  |     reraise(type(exception), exception, tb=exc_tb, cause=cause) ara_1  |   File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1193, in _execute_context ara_1  |     context) ara_1  |   File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/default.py", line 507, in do_execute ara_1  |     cursor.execute(statement14:27
ara-slackparameters) ara_1  | DatabaseError: (psycopg2.DatabaseError) SSL error: decryption failed or bad record mac ```14:27
ara-slack<dmsimard> that's odd14:27
ara-slack<logan.attwood> yeah14:27
ara-slack<dmsimard> were you still using that sqlalchemy pool patch ?14:27
ara-slack<logan.attwood> i had previously been installing from pypi14:27
ara-slack<logan.attwood> oh14:28
ara-slack<logan.attwood> never was14:28
ara-slack<dmsimard> that's fine14:28
ara-slack<logan.attwood> lemme make sure it doesn't happen with the latest version on pypi14:28
ara-slack<dmsimard> ok14:28
ara-slack<dmsimard> FWIW I'm working on rebasing the sqlalchemy pool patch https://review.openstack.org/#/c/524427/14:28
*** tbielawa is now known as tbielawa|mtg14:30
ara-slack<logan.attwood> works fine...14:31
ara-slack<logan.attwood> w/ the pip one14:31
ara-slack<logan.attwood> well14:31
ara-slack<logan.attwood> other than the issue i previously had, xD14:31
ara-slack<logan.attwood> works fine under apache14:42
ara-slack<logan.attwood> so14:42
ara-slack<logan.attwood> https://github.com/openstack/ara/commit/680128e5f7f9c16bb0d8f1d09c1ebc6beee50bb514:42
ara-slack<dmsimard> with the patch yo mean ?14:42
ara-slack<logan.attwood> no14:42
ara-slack<logan.attwood> i mean running on master14:43
ara-slack<logan.attwood> works fine under apache14:43
ara-slack<dmsimard> yeah but was that not what you tried before ?14:43
ara-slack<logan.attwood> i had it configured for `runserver` mode when troubleshooting, when changing over to the install from master I left that alone thinking they'd be identical :slightly_smiling_face:14:43
ara-slack<logan.attwood> baaah14:44
ara-slack<logan.attwood> one of the larger ones died14:44
ara-slack<logan.attwood> all of the big ones died :(14:45
ara-slack<dmsimard> died ?14:46
ara-slack<logan.attwood> yeah14:46
ara-slack<logan.attwood> OOM14:46
ara-slack<logan.attwood> well14:47
ara-slack<dmsimard> with master ?14:47
ara-slack<logan.attwood> yes14:47
ara-slack<logan.attwood> i'm assuming it's OOM, don't see OOM when it runs under apache, only under `runserver`, and `runserver` doesn't work.14:47
ara-slack<dmsimard> right14:47
ara-slack<dmsimard> The OOM fix was in the wsgi implementation14:47
ara-slack<dmsimard> So you would not see it when using runserver14:47
ara-slack<dmsimard> Also using runserver at your scale is asking for pain and suffering, it's an embedded development server :slightly_smiling_face:14:48
ara-slack<logan.attwood> just for testing, and only locally :slightly_smiling_face:14:48
ara-slack<logan.attwood> i'm not a complete masochist.14:48
ara-slack<dmsimard> so you're saying it's fixed with apache then ? tbh I only tested with gunicorn to reproduce @harlowja's config14:49
ara-slack<logan.attwood> it OOMs under apache14:49
ara-slack<logan.attwood> it straight up doesn't work at all under runserver on master14:49
ara-slack<dmsimard> can you paste your vhost config ?14:49
ara-slack<dmsimard> I'll try and reproduce14:50
ara-slack<logan.attwood> ``` <VirtualHost *:80>     ServerName ara      WSGIDaemonProcess ara user=www-data group=www-data processes=4 threads=1     WSGIScriptAlias / /var/www/ara/ara-wsgi      SetEnv ANSIBLE_CONFIG /var/www/ara/ansible.cfg      <Directory /var/www/ara>         WSGIProcessGroup ara         WSGIApplicationGroup %{GLOBAL}         Require all granted     </Directory> </VirtualHost>  # vim: syntax=apache ts=4 sw=4 sts=4 sr noet ```14:50
ara-slack<logan.attwood> base http config ``` Mutex file:${APACHE_LOCK_DIR} default PidFile ${APACHE_PID_FILE} Timeout 300 KeepAlive On MaxKeepAliveRequests 100 KeepAliveTimeout 5 User ${APACHE_RUN_USER} Group ${APACHE_RUN_GROUP} HostnameLookups Off  ErrorLog /dev/stdout LogLevel info CustomLog /dev/stdout combined  IncludeOptional mods-enabled/*.load IncludeOptional mods-enabled/*.conf Include ports.conf  <Directory />         Options FollowSymLinks14:50
ara-slackAllowOverride None         Require all denied </Directory> <Directory /usr/share>         AllowOverride None         Require all granted </Directory> <Directory /var/www/>         Options Indexes FollowSymLinks         AllowOverride None         Require all granted </Directory>  AccessFileName .htaccess  <FilesMatch "^\.ht">         Require all denied </FilesMatch>  LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\""14:50
ara-slackvhost_combined LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%h %l %u %t \"%r\" %>s %O" common LogFormat "%{Referer}i -> %U" referer LogFormat "%{User-agent}i" agent  IncludeOptional conf-enabled/*.conf IncludeOptional sites-enabled/*.conf  # vim: syntax=apache ts=4 sw=4 sts=4 sr noet ```14:50
ara-slack<dmsimard> yeah that's pretty much straight what's in the docs14:50
ara-slack<dmsimard> ok, I'll try that14:50
ara-slack<logan.attwood> some apache logs ``` ara_1  | 172.21.0.1 - - [09/Apr/2018:14:48:15 +0000] "GET /reports/ajax/parameters/6a18a68a-289a-460d-97f6-1b97be2d499d.txt?_=1523285105111 HTTP/1.1" 200 1223 "http://localhost/repo rts/list/2.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36" ara_1  | 172.21.0.1 - - [09/Apr/2018:14:48:06 +0000] "GET14:51
ara-slack/reports/ajax/stats/7257a931-e22c-4b8e-ad08-bc6948171ef9.txt?_=1523285105108 HTTP/1.1" 200 448502 "http://localhost/reports /list/2.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36" ara_1  | 172.21.0.1 - - [09/Apr/2018:14:48:15 +0000] "GET /reports/ajax/stats/6a18a68a-289a-460d-97f6-1b97be2d499d.txt?_=1523285105112 HTTP/1.1" 200 449011 "http://localhost/reports /list/2.html14:51
ara-slack"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36" ara_1  | [Mon Apr 09 14:49:47.402913 2018] [wsgi:error] [pid 33:tid 140421293545216] [client 172.21.0.1:55262] Truncated or oversized response headers received from daemon process ' ara': /var/www/ara/ara-wsgi, referer: http://localhost/reports/list/2.html ara_1  | 172.21.0.1 - - [09/Apr/2018:14:48:05 +0000] "GET14:51
ara-slack/reports/ajax/results/cabf5f4c-20d6-4477-865e-8996138d2588.txt?_=1523285105102 HTTP/1.1" 500 798 "http://localhost/reports/ list/2.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36" ara_1  | [Mon Apr 09 14:49:47.865006 2018] [wsgi:info] [pid 27:tid 140421406017408] mod_wsgi (pid=116): Process 'ara' has died, deregister and restart it. ara_1  | [Mon Apr 09 14:49:47.866224 20114:51
ara-slack[wsgi:info] [pid 27:tid 140421406017408] mod_wsgi (pid=116): Process 'ara' terminated by signal 9 ara_1  | [Mon Apr 09 14:49:47.866525 2018] [wsgi:info] [pid 27:tid 140421406017408] mod_wsgi (pid=116): Process 'ara' has been deregistered and will no longer be monitored. ara_1  | [Mon Apr 09 14:49:47.871889 2018] [wsgi:info] [pid 126:tid 140421406017408] mod_wsgi (pid=126): Starting process 'ara' with uid=33, gid=33 and threads=1. ara_1  | [Mon Apr 0914:51
ara-slack14:49:47.877445 2018] [wsgi:info] [pid 126:tid 140421406017408] mod_wsgi (pid=126): Initializing Python. ara_1  | [Mon Apr 09 14:49:47.921091 2018] [wsgi:info] [pid 126:tid 140421406017408] mod_wsgi (pid=126): Attach interpreter ''. ```14:51
ara-slack<dmsimard> I stopped witnessing the memory leaks with gunicorn (it still takes up a bit of memory but doesn't keep growing), maybe there's something else14:51
ara-slack<dmsimard> how much ram is it using before running OOM ?14:51
ara-slack<logan.attwood> lemme get `doenter` running14:52
*** spiette has joined #ara14:56
ara-slackAction: logan.attwood watches it slowly climb14:57
dmsimardI have to step away for dentist appointment, be back in a bit14:59
ara-slack<logan.attwood> daaaamn.14:59
ara-slack<logan.attwood> File uploaded https://ara-community.slack.com/files/UA2H3AQ1Z/FA31508LR/image.png / https://slack-files.com/T6VAB05L7-FA31508LR-30540615e414:59
ara-slack<logan.attwood> uhh14:59
ara-slack<logan.attwood> *all* the ram14:59
ara-slack<dmsimard> That's pretty14:59
ara-slack<logan.attwood> File uploaded https://ara-community.slack.com/files/UA2H3AQ1Z/FA4JPLY0P/image.png / https://slack-files.com/T6VAB05L7-FA4JPLY0P-15cab6113415:00
ara-slack<dmsimard> okay, so that means it's probably not fixed yet.. interesting. I'll look after the dentist.15:00
ara-slack<logan.attwood> ty15:00
ara-slack<logan.attwood> well15:00
ara-slack<logan.attwood> it's like15:00
ara-slack<logan.attwood> nothing for a efw minutes15:00
ara-slack<logan.attwood> then ramps up quickly15:00
dmsimardFWIW my attempt at fixing it was https://github.com/openstack/ara/commit/fa624de6f78ec637fd6f46524abffcddb632e78415:00
*** hwoarang has joined #ara15:14
*** tbielawa|mtg is now known as tbielawa15:32
*** Phinnay has joined #ara16:25
Phinnayis there a way to access collected records from the CLI interface?16:26
ara-slack<harlowja> @dmsimard thanks for the info; let us know what u find out (i'd be intersting in knowing why it consumes memory like it does)16:27
dmsimardPhinnay: ara data list -b <playbook id>16:27
dmsimardPhinnay: (it should read record list but it's a long story)16:27
Phinnayaha ok16:28
Phinnayany thoughs on what was up with the problems saving records to MYsql from last week?16:36
Phinnaybeen solid into sqlite16:36
dmsimardPhinnay: it's still on my todo list, I've fixed other things but not that16:38
Phinnayalrighty16:39
Phinnayas long as it's on the list for the next release i'll hold tight just wanted to make sure it got entered as a bug16:39
Phinnayalso am i missing something with ara playbook list -c and multiple column names?16:45
ara-slack<harlowja> @dmsimard let me know if u need any help also16:45
ara-slack<harlowja> or testing stuffs16:45
dmsimardPhinnay: you need to repeat -c for columns16:46
Phinnay(ara) playbook list -c 'ID','Path' No recognized column names in ['ID,Path']. Recognized columns are ['ID', 'Path', 'Time Start', 'Duration', 'Complete', 'Ansible Version'].16:46
dmsimardtry -c ID -c Path16:46
Phinnayoh ok the use verbiage makes it seem like you can give it a list16:46
Phinnayok that works fine :D16:47
*** tbielawa is now known as tbielawa|lunch16:49
-openstackstatus- NOTICE: zuul was restarted to update to the latest code; please recheck any changes uploaded within the past 10 minutes16:50
*** Phinnay has quit IRC17:34
*** tbielawa|lunch is now known as tbielawa17:52
ara-slack<dmsimard> @logan.attwood @harlowja I'm not able to go higher than ~1.5GB RAM with gunicorn against the current master with sqlite against 4 playboks involving >1000 hosts each with gathered facts. I'll try and add some more playbooks, try again and if that still doesn't show anything I'll look at testing with postgre/mysql.18:26
ara-slack<harlowja> hmmmm18:26
ara-slack<logan.attwood> @dmsimard need some DB stats or me to run some queries against my postgres?18:26
ara-slack<dmsimard> @harlowja btw that's without --max-requests18:27
ara-slack<dmsimard> @logan.attwood I've been running https://gist.github.com/dmsimard/d42cf5b281e6e6839f73756e6ab6b5a418:27
ara-slack<dmsimard> I don't happen to conveniently have access to several hundred hosts to test things on :)18:28
ara-slack<logan.attwood> so uh18:28
ara-slack<logan.attwood> try18:28
ara-slack<logan.attwood> 400 hosts, 2k tasks18:28
ara-slack<dmsimard> Is there a lot of output in those tasks ?18:29
ara-slack<logan.attwood> i don't believe so18:29
ara-slack<dmsimard> ok, I'll try.18:29
ara-slack<logan.attwood> but18:29
ara-slack<logan.attwood> we're getting around 50k tasks per run18:29
ara-slack<logan.attwood> (module invocations * hosts)18:29
ara-slack<dmsimard> I can probably reproduce with 50 tasks for each host :slightly_smiling_face:18:30
ara-slack<dmsimard> Just for the record, RAM usage with gunicorn/sqlite: http://paste.openstack.org/raw/718766/ from https://i.imgur.com/Clb0LUD.png18:36
ara-slack<dmsimard> And that's from refreshing many times until all the threads are "warmed up"18:36
ara-slack<dmsimard> Going to add fake tasks now..18:36
*** Laverne has quit IRC18:58
ara-slack<dmsimard> I'm not sure exactly what I'm running... I think I'm running 1000 * 50 * 3 tasks19:04
ara-slack<dmsimard> It's taking forever to return lol19:04
*** Laverne has joined #ara19:18
*** DrWaluigi has quit IRC19:36
*** DrWaluigi has joined #ara19:38
ara-slack<dmsimard> @logan.attwood @harlowja okay I can definitely see a memory spike when loading a larger amount of results. Just refreshing the page yields a 2GB spike that fades as soon as it's finished loading. I'll look in that direction.19:45
ara-slack<harlowja> ya, +119:45
ara-slack<harlowja> something eating up memory :P19:45
dmsimardyou guys just have too many tasks and servers :P19:46
ara-slack<dmsimard> Sweet, I managed to get it up to a 6GB spike19:55
ara-slack<dmsimard> Sorry I ever doubted you guys :(19:55
ara-slack<dmsimard> 6GB RAM spike from a 33MB sqlite database, how's that19:58
dmsimardnow I'll try and run that on my laptop for easier troubleshooting. Hoping my laptop doesn't crash :D20:02
*** tbielawa is now known as tbielawa|brb20:22
ara-slack<dmsimard> @harlowja found something20:32
ara-slack<harlowja> :P20:32
ara-slack<harlowja> ya, how is it possible, lol20:32
ara-slack<dmsimard> https://github.com/openstack/ara/blob/master/ara/views/reports.py#L18120:33
ara-slack<dmsimard> This is flushing/loading the entire sqlalchemy generator in memory20:33
ara-slack<dmsimard> It seems like we'd want to add yield_per to limit the size of the yields http://docs.sqlalchemy.org/en/latest/orm/query.html#sqlalchemy.orm.query.Query.yield_per20:34
ara-slack<harlowja> ah. cool20:34
ara-slack<dmsimard> If I set it to something like 100 it won't be as fast but it also won't eat all of your memory20:35
ara-slack<harlowja> still mind blown 6GB RAM spike from a 33MB sqlite database20:35
ara-slack<harlowja> lol20:35
ara-slack<dmsimard> what can I say20:35
ara-slack<dmsimard> I write efficient software20:35
ara-slack<harlowja> :slightly_smiling_face:20:35
ara-slack<dmsimard> Efficient at eating RAM of course20:35
openstackgerritDavid Moreau Simard proposed openstack/ara master: Add support for configuring sqlalchemy pool size, timeout and recycle  https://review.openstack.org/52442720:59
openstackgerritDavid Moreau Simard proposed openstack/ara master: Improve memory usage when dealing with large amount of data  https://review.openstack.org/55984020:59
ara-slack<dmsimard> @harlowja can you try using https://review.openstack.org/#/c/559840/ ? It include a rebase of the sqlalchemy pool patch https://review.openstack.org/524427.21:00
dmsimardSpamapS: ^ fyi21:01
SpamapSyou guys are going to make me join your silly slack21:01
dmsimardit's cause harlowja isn't here lol21:02
ara-slack<harlowja> i'm here, just coding21:02
dmsimardah ok, when you're coding you're on slack but not on IRC :D21:02
dmsimardI guess you're not... slacking ?21:03
ara-slack<harlowja> ya, will open IRC21:03
ara-slack<harlowja> ok, will now be on IRC21:03
ara-slack<harlowja> lol21:03
dmsimardwhatever lol21:03
*** harlowja has joined #ara21:03
harlowjaok, now on IRC21:03
harlowjalol21:03
SpamapSis there a slack? Is it just a myth?21:03
* SpamapS doesn't think it's ara.slack.com21:04
dmsimardara-community.slack.com21:04
SpamapSperhaps put that in the irc topic too :)21:05
dmsimardIt's in the readme but I can put it here yeah21:05
dmsimardhttps://github.com/openstack/ara#contributing-testing-issues-and-bugs21:05
*** tbielawa|brb is now known as tbielawa21:16
*** tbielawa has quit IRC21:16
*** gvincent has quit IRC21:40

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!