yurilaaziz / neo-instabot

Neo-Instabot is a free project. Forked from instabot.py. It uses the Instagram Web/Mobile API.
Other
37 stars 22 forks source link

Bot auto kill after few seconds #8

Open BarryAlvord opened 5 years ago

BarryAlvord commented 5 years ago

Check this or we will delete your issue. (fill in the checkbox with an X like so: [x])

Select one:

Environment

Include more details about the environment

Operating System? (include version)

include the output of 'uname -a'
``` 5.0.0-25-generic #26~18.04.1-Ubuntu SMP Thu Aug 1 13:51:02 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

#### Python Version Requirement
- [V] I am using Python 3.6 or above
python3.7 minimal

#### Exact Python Version?

Include here the response of 'python --version' or 'python3 --version'


#### Pip Version?
```pip 9.0.1 from /home/barryallen/Project/venv/lib/python3.7/site-packages (python 3.7)

Include here the response of 'pip --version' or 'pip3 --version'
```pip 9.0.1 from /home/barryallen/Project/venv/lib/python3.7/site-packages (python 3.7)

#### Instabot Version?

Include here the response of 'instabot-py --version'

Installed version 0.6.0

#### How you use the instabot
- [X] instabot-py -c my-configfile.yml (my-configfile.yml is an example you may have a different file )
- [ ] instabot-py --login LOGIN --password PASSWORD
- [ ] instabot-py 
- [ ] example.py (Deprecated, please install newer version) 

#### Description of your issue

```auto kill after few secconds:
terminal output: 
2019-08-25 01:15:33,531 - barry_2212 - InstaBot - INFO - Followed: https://www.instagram.com/meatlessjerky/ #1.
Killed

Include the contents of the error.log here (if applicable). < REPLACE THIS TEXT

Config

login : "USER"
password : "PASSWORD"
debug: 0
follow_time: 604800
like_per_day: 800
comments_per_day: 2
comment_list: ['Nice shot! @{}','I love your profile! @{}','Wonderful :thumbsup:','Just incredible :open_mouth:','What camera did you use @{}?','Love your posts @{}',':raised_hands: Yes!']
tag_list: ['filmisnotdead','filmphotography','filmphoto','35mm','analogfilm']
max_like_for_one_tag: 200
follow_per_day: 260
follow_time: 36000
#unfollow_per_day: 247
#unfollow_break_min: 3
#unfollow_break_max: 17
#unfollow_selebgram: false
#unfollow_probably_fake: true
#unfollow_inactive: true
#unfollow_recent_feed: false
Ensure that you specify the configuration file in the command line.
Ensure that the default file instabot.config.yml contains only common settings if you use multiple accounts.
Include the contents of your config here (instabot-py -c config.yml --dump) (REMOVE YOUR USERNAME AND PASSWORD!) (if applicable). < REPLACE THIS TEXT
yurilaaziz commented 5 years ago

could you please provide the output of top -n 1

I think that you don't have enough memory space, that's why the kernel is killing the process

BarryAlvord commented 5 years ago

Sory for reply super late :< Here its my terminal output of "top -n 1" :

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND     
 2594 barryal+  20   0 1730888 467428 168288 S  23,5 11,9   2:04.21 chrome      
  565 root     -51   0       0      0      0 S   5,9  0,0   0:03.66 irq/29-iwl+ 
 1892 barryal+  20   0 3473756 318164 194708 S   5,9  8,1   0:59.49 gnome-shell 
    1 root      20   0  225620   9504   6852 S   0,0  0,2   0:02.91 systemd     
    2 root      20   0       0      0      0 S   0,0  0,0   0:00.00 kthreadd    
    3 root       0 -20       0      0      0 I   0,0  0,0   0:00.00 rcu_gp      
    4 root       0 -20       0      0      0 I   0,0  0,0   0:00.00 rcu_par_gp  
    6 root       0 -20       0      0      0 I   0,0  0,0   0:00.00 kworker/0:+ 
    8 root       0 -20       0      0      0 I   0,0  0,0   0:00.00 mm_percpu_+ 
    9 root      20   0       0      0      0 S   0,0  0,0   0:00.05 ksoftirqd/0 
   10 root      20   0       0      0      0 I   0,0  0,0   0:02.40 rcu_sched   
   11 root      rt   0       0      0      0 S   0,0  0,0   0:00.01 migration/0 
   12 root     -51   0       0      0      0 S   0,0  0,0   0:00.00 idle_injec+ 
   13 root      20   0       0      0      0 I   0,0  0,0   0:00.25 kworker/0:+ 
   14 root      20   0       0      0      0 S   0,0  0,0   0:00.00 cpuhp/0     
   15 root      20   0       0      0      0 S   0,0  0,0   0:00.00 cpuhp/1     
   16 root     -51   0       0      0      0 S   0,0  0,0   0:00.00 idle_injec+ 

@yurilaaziz