Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 01:42
    mrsaicharan1 labeled #6781
  • 01:41
    mrsaicharan1 labeled #6781
  • 01:40
    mrsaicharan1 edited #6781
  • 01:40
    mrsaicharan1 edited #6781
  • 01:40
    mrsaicharan1 edited #6781
  • 01:39
    mrsaicharan1 opened #6781
  • Jan 23 19:21
    iamareebjamal closed #6775
  • Jan 23 19:20
    codedsun commented #6775
  • Jan 23 19:16
    codecov[bot] commented #6780
  • Jan 23 19:16
    codecov[bot] commented #6780
  • Jan 23 19:16
    codecov[bot] commented #6780
  • Jan 23 19:16
    codecov[bot] commented #6780
  • Jan 23 19:16
    codecov[bot] commented #6780
  • Jan 23 19:15
    codecov[bot] commented #6780
  • Jan 23 19:15
    codecov[bot] commented #6780
  • Jan 23 19:12
    Rits1272 commented #6780
  • Jan 23 19:11
    codecov[bot] commented #6780
  • Jan 23 19:11
    codecov[bot] commented #6780
  • Jan 23 19:11
    Rits1272 synchronize #6780
  • Jan 23 19:10
    codecov[bot] commented #6780
Eden
@edenyay
hello team, i had to create another issue because i'm not able to search for keywords in either the sessions or speakers tab. I tried to search the sessions according tracks, not possible; tried to search for speaker names, not possible. I saw many issues were created and closed in the past about the search functionality but seems like we are still having big problem here. Could you help me look into it again, please? fossasia/open-event-frontend#3754
Areeb Jamal
@iamareebjamal
Sessions can't be searched using speaker names, that'd be too inefficient and heavy for the server to compute. It should be able to filter sessions by track however
Eden
@edenyay
@iamareebjamal i see the differences, as we were able to filter everything out last year, maybe function has been cut down as you said to unload for the server. filter by track not possible anyway.
only a few results appeared.
Areeb Jamal
@iamareebjamal
Yes, last year maybe in legacy server. I don't think it ever worked in the new server. Then we were running on a Kubernetes cluster with elasticsearch and many nodes. Now we are running the database, server and frontend all on one server with 2 GB RAM and a single-core CPU with 10 GB storage. Most probably your average smartphone has more resources than that
Similarly, speaker table cannot be filtered by tracks or sessions, that's too much indirection to compute efficiently and we don't have a search engine which can index and perform these queries quickly
Eden
@edenyay
@iamareebjamal track names cannot be filtered under sessions. that's what i meant.
Areeb Jamal
@iamareebjamal
Yes that can be done and is not implemented yet. I have mentioned in the issue. It will be implemented
Amit Aronovitch
@AmitAronovitch

Hi folks. I am new here...
Thanks for the quick merging of my AWS fix (PR #6707) :-)

Question: I am running an instance of oevent-server on Heroku (currently forked at v1.10.0), and constantly getting memory errors in the log (heroku[web.1]: Error R14 (Memory quota exceeded)).
The process seems to take up ~900M, which is too high for the 500M limit of Heroku's free dynos.

Since it seems that the project is running its own demo server on Heroku, I was wondering if this issue is known and is there a known solution. Otherwise, what is the recommended / most tested setup? What do people use for their "production" setup?

Areeb Jamal
@iamareebjamal

As mentioned above, we are running production eventyay.com on just a 2GB RAM server, so it is scalable to very low requirements. We are running a dev version on just free version of heroku with 512 MB RAM, so it is certainly possible, but as you can guess, you'll get really poor performance and be pushing the boundary of memory. Unless extremely simple, you can't expect an interpreted language's application to run in under 512 MB RAM and give production performance, that can't happen unless you write a native service or in a compiled language like go. And anyway, even if the server took just 10 MB of RAM, the performance on heroku would be extremely bad, not at all recommended for production, they throttle the CPU cycles of even the 1 CPU core they provide in free instance. So, no parallelization and even worse performance. All requests will block until the currently running request is completed, unless you run gunicorn with async worker like eventlet, which has introduced some problems with our payments integrations in past.

In production, web process takes 400-450 MB RAM, you can reduce it by reducing the amount of gunicorn workers from 4 to lower. This will again trade off performance for memory. celery takes 300 MB. And you should know that Python garbage collection is far from state of art so it accumulates memory over time. On a fresh start, clery takes 150 MB RAM and web takes 200 MB for 1 instance (which is what runs on our dev instance). So, you can get away with it on 500 MB plan if you run 1 instance of web and celery and regularly restart instances like heroku does after some time. But, you'll get horrible performance. At least 1 GB RAM is required to even run default production config as it takes about 500-600 MB RAM after some time.

D.Rohit
@diru1100
I am getting this error while running create_db.py following general instructions. Can anyone please let me know what’s going wrong
Screenshot 2020-01-05 at 9.37.12 PM.png
P.S: My code is updated with upstream
Suneet Srivastava
@codedsun
@diru1100 - missing library error. install that
D.Rohit
@diru1100
Yeah, i think it should be there in requirements?
@codedsun
Amit Aronovitch
@AmitAronovitch
@iamareebjamal Thanks for the memory requirements summary - this will be very useful :-)
BTW - which storage you are using at eventyay.com? Maybe a mounted volume? Seems like the code of the google-storage helper is a copy of the aws one from before #6707 (i.e. I'd expect it to have been broken as well).
Areeb Jamal
@iamareebjamal
Using local volume
D.Rohit
@diru1100
hi all,
I am getting yet another error while running create_db.py. The python-magic library in requirements is not resolving this issue. I had to install (pip install python-magic-bin==0.4.14) to work around the problem.
Screenshot 2020-01-05 at 10.22.41 PM.png
D.Rohit
@diru1100

hi all,
I am getting this error while running the celery command, didn’t occur before when I setup. any idea? When I googled it, it said I have install RabbitMQ?

Screenshot 2020-01-07 at 7.34.07 AM.png

Areeb Jamal
@iamareebjamal
Docs need to be updated. It's app.instance.celery now
Mario Behling
@mariobehling

@mariobehling
Dear @/all we will have an OpenTechSummit Day in Delhi this upcoming Sunday January 12 at DTU (Delhi Technological University). Please join us. The entrance to the event is free of charge.

https://twitter.com/fossasia/status/1214907186222116864
OpenTechSummit Day India 12 January 2020, Delhi Technological University. Please join us! Speakers are Open Hardware legend Mitch Altman, Mario Behling + developers of Susiai PSlabio Eventyay. https://delhiday.opentechsummit.in

60329b81-0ad5-40a7-8b50-6174bfb557cc.jpeg
Eden
@edenyay
i had to re-open this issue again fossasia/open-event-frontend#3739 @iamareebjamal @kushthedude any ideas why it happened and how we can fix this completely?
Kush Trivedi
@kushthedude
@edenyay I just tried it on my local and I was successful in adding new speaker/session. I think there is an issue because of some specific field, It would be great if you could help me with the name of fields you are filling for speaker detail.
Bella Phan
@bellaphan
Hi
What do you mean by specific field?
Can you give an example
Hong Phuc Dang
@hpdang
@kushthedude
I filled all the required field
Eden
@edenyay
same here. filled in. always error message. never be able to add in speakers details.
but at the same time, new speakers are able to upload new sessions into the system. so we believe this is organizer issue.
Areeb Jamal
@iamareebjamal
Check if URLs submitted have appropriate protocol in them. For example, https://github.com instead of just github.com
Fix has been merged but needs to be tested and confirmed before being deployed to production
Kush Trivedi
@kushthedude
@iamareebjamal the error was due to protocol
Kush Trivedi
@kushthedude
@edenyay @hpdang The speaker issue is fixed, will be fixed in production once the release have been made :+1:
Suneet Srivastava
@codedsun
:+1:
Eden
@edenyay
@kushthedude @hpdang i was able to add in sessions and speakers again by temporarily disabling the mandatory option for website in speaker registration form.
Pranav Karthik
@pranavkarthik10
aryanguls
@aryanguls
https://codein.withgoogle.com/dashboard/task-instances/5731870327701504/ Mentors please review this task as soon as possible.
aryanguls
@aryanguls
fossasia/open-event-attendee-android#2568 Mentors please review and merge as soon as possible.
Areeb Jamal
@iamareebjamal
  1. The build is failing 2. This is open event server chat room
Prateek Jain
@prateekj117
@iamareebjamal Any idea what last4 column is about in orders table?
Areeb Jamal
@iamareebjamal
last 4 number of credit card
Prateek Jain
@prateekj117
:thumbsup:
Paul "Joey" Clark
@joeytwiddle

Just a heads up. Now tickets are on sale for FOSSAsia Summit, I had someone confused that https://summit.fossasia.org/event/tracks.html has the wrong dates. I explained that the dates are wrong because it's showing last year's event! https://2019.fossasia.org/event/tracks.html

It would be great if someone could put "Coming soon..." on the summit event pages, or "FOSSAsia 2019" to avoid confusion, until we can show the real 2020 tracks list.

D.Rohit
@diru1100
I am getting the following while running a test, can I please know why it’s happening.
Screenshot 2020-01-22 at 6.53.21 AM.png
Sai Charan
@mrsaicharan1
The user you're trying to set up is already there in the DB
Sai Charan
@mrsaicharan1
Try clearing the DB and run create_db.py again
D.Rohit
@diru1100
Thanks!, will try
Areeb Jamal
@iamareebjamal
v1.11 is live on server
Suneet Srivastava
@codedsun
:+1: Yeah